Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Prism::Translation::RubyParser::Compiler.new
new(file, in_def: false, in_pattern: false)
lib/prism/translation/ruby_parser.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/prism/translation/ruby_parser.rb, line 31
def initialize(file, in_def: false, in_pattern: false)
@file = file
@in_def = in_def
@in_pattern = in_pattern
end
Initialize a new compiler with the given file name.