Class: RubyLsp::Ree::BodyObjectsParser::ConstObject
- Inherits:
-
Object
- Object
- RubyLsp::Ree::BodyObjectsParser::ConstObject
- Defined in:
- lib/ruby_lsp/ruby_lsp_ree/parsing/body_parsers/body_objects_parser.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name:) ⇒ ConstObject
constructor
A new instance of ConstObject.
Constructor Details
#initialize(name:) ⇒ ConstObject
Returns a new instance of ConstObject.
7 8 9 |
# File 'lib/ruby_lsp/ruby_lsp_ree/parsing/body_parsers/body_objects_parser.rb', line 7 def initialize(name:) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/ruby_lsp/ruby_lsp_ree/parsing/body_parsers/body_objects_parser.rb', line 5 def name @name end |