Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Prism::Pack::Format.new
new(directives, encoding)
lib/prism/pack.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/prism/pack.rb, line 206
def initialize(directives, encoding)
@directives = directives
@encoding = encoding
end
Create a new Format with the given directives and encoding.