Class: Vertigo::Entity
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#generics ⇒ Object
Returns the value of attribute generics.
-
#name ⇒ Object
Returns the value of attribute name.
-
#ports ⇒ Object
Returns the value of attribute ports.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(name = nil, generics = [], ports = []) ⇒ Entity
constructor
A new instance of Entity.
Methods inherited from AstNode
Constructor Details
#initialize(name = nil, generics = [], ports = []) ⇒ Entity
Returns a new instance of Entity.
50 51 52 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 50 def initialize name=nil,generics=[],ports=[] @name,@generics,@ports=name,generics,ports end |
Instance Attribute Details
#generics ⇒ Object
Returns the value of attribute generics.
49 50 51 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 49 def generics @generics end |
#name ⇒ Object
Returns the value of attribute name.
49 50 51 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 49 def name @name end |
#ports ⇒ Object
Returns the value of attribute ports.
49 50 51 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 49 def ports @ports end |