diff options
author | Kevin Newton <[email protected]> | 2023-11-02 14:01:20 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2023-11-03 10:13:49 -0400 |
commit | 05f5c545d232554b6ffb183d6948ad37f46df53b (patch) | |
tree | 43ab5b181b7fb31e5421a9adda59f822e0d65c45 /lib/prism/debug.rb | |
parent | ca7297efd389eca792c706326d1af138acf5a4f6 (diff) |
[ruby/prism] Wire up options through the FFI API
https://github.com/ruby/prism/commit/f0aa8ad93b
Diffstat (limited to 'lib/prism/debug.rb')
-rw-r--r-- | lib/prism/debug.rb | 8 |
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 |