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