Class: Solargraph::Pin::Directed::Attribute
- Defined in:
- lib/solargraph/pin/directed/attribute.rb
Instance Attribute Summary
Attributes inherited from Attribute
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(source, node, namespace, access, docstring, name) ⇒ Attribute
constructor
A new instance of Attribute.
- #name ⇒ Object
Methods inherited from Attribute
Methods inherited from Base
#docstring, #filename, #kind, #location, #parameters, #path, #return_type, #signature, #value
Constructor Details
#initialize(source, node, namespace, access, docstring, name) ⇒ Attribute
Returns a new instance of Attribute.
5 6 7 8 |
# File 'lib/solargraph/pin/directed/attribute.rb', line 5 def initialize source, node, namespace, access, docstring, name super(source, node, namespace, access, docstring) @name = name end |
Instance Method Details
#name ⇒ Object
10 11 12 |
# File 'lib/solargraph/pin/directed/attribute.rb', line 10 def name @name end |