On this page
Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.3
Prism::DefNode
Represents a method definition.
def method end ^^^^^^^^^^
Class methods 2
Instance methods 15
Attributes
Read
attr_reader def_keyword_loc: Location
Read
attr_reader end_keyword_loc: Location?
Read
attr_reader locals_body_index: Integer
Read
attr_reader lparen_loc: Location?
Read
attr_reader operator_loc: Location?
Read
attr_reader parameters: ParametersNode?
Read
attr_reader rparen_loc: Location?