Class: Vertigo::AttributeSpec
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#entity_spec ⇒ Object
Returns the value of attribute entity_spec.
-
#expr ⇒ Object
Returns the value of attribute expr.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(name = nil, entity_spec = nil, expr = nil) ⇒ AttributeSpec
constructor
A new instance of AttributeSpec.
Methods inherited from AstNode
Constructor Details
#initialize(name = nil, entity_spec = nil, expr = nil) ⇒ AttributeSpec
Returns a new instance of AttributeSpec.
197 198 199 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 197 def initialize name=nil,entity_spec=nil,expr=nil @name,@entity_spec,@expr=name,entity_spec,expr end |
Instance Attribute Details
#entity_spec ⇒ Object
Returns the value of attribute entity_spec.
196 197 198 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 196 def entity_spec @entity_spec end |
#expr ⇒ Object
Returns the value of attribute expr.
196 197 198 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 196 def expr @expr end |
#name ⇒ Object
Returns the value of attribute name.
196 197 198 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 196 def name @name end |