Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Prism.parse_file_failure?
Prism::parse_file_failure?(filepath, **options) → bool
lib/prism.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/prism.rb, line 80
def self.parse_file_failure?(filepath, **options)
!parse_file_success?(filepath, **options)
end
Returns true if the file at filepath parses with errors.