Class: Solargraph::ApiMap::AttrPin
- Inherits:
-
Object
- Object
- Solargraph::ApiMap::AttrPin
- Defined in:
- lib/solargraph/api_map/attr_pin.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Instance Method Summary collapse
-
#initialize(node) ⇒ AttrPin
constructor
A new instance of AttrPin.
- #suggestions ⇒ Object
Constructor Details
#initialize(node) ⇒ AttrPin
Returns a new instance of AttrPin.
6 7 8 |
# File 'lib/solargraph/api_map/attr_pin.rb', line 6 def initialize node @node = node end |
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
4 5 6 |
# File 'lib/solargraph/api_map/attr_pin.rb', line 4 def node @node end |
Instance Method Details
#suggestions ⇒ Object
10 11 12 |
# File 'lib/solargraph/api_map/attr_pin.rb', line 10 def suggestions @suggestions ||= generate_suggestions end |