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