On this page
Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.3
Prism::ClassNode
Represents a class declaration involving the class keyword.
class Foo end ^^^^^^^^^^^^^
Class methods 2
Instance methods 12
Attributes
Read
attr_reader class_keyword_loc: Location
Read
attr_reader constant_path: Node
Read
attr_reader end_keyword_loc: Location
attr_reader inheritance_operator_loc: Location?
Read
attr_reader superclass: Node?