Class: Solargraph::Pin::Directed::Attribute

Inherits:
Attribute show all
Defined in:
lib/solargraph/pin/directed/attribute.rb

Instance Attribute Summary

Attributes inherited from Attribute

#access

Attributes inherited from Base

#namespace, #node, #source

Instance Method Summary collapse

Methods inherited from Attribute

#path, #return_type

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

#nameObject



10
11
12
# File 'lib/solargraph/pin/directed/attribute.rb', line 10

def name
  @name
end