summaryrefslogtreecommitdiff
path: root/lib/prism/debug.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/prism/debug.rb')
-rw-r--r--lib/prism/debug.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/prism/debug.rb b/lib/prism/debug.rb
index f573d0958d..f5d19dc3df 100644
--- a/lib/prism/debug.rb
+++ b/lib/prism/debug.rb
@@ -187,13 +187,5 @@ module Prism
def self.newlines(source)
Prism.parse(source).source.offsets
end
-
- # :call-seq:
- # Debug::parse_serialize_file(filepath) -> dumped
- #
- # For the given file, parse the AST and dump it to a string.
- def self.parse_serialize_file(filepath)
- parse_serialize_file_metadata(filepath, [filepath.bytesize, filepath.b, 0].pack("LA*L"))
- end
end
end