Class: Vertigo::EntitySpec
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#elements ⇒ Object
Returns the value of attribute elements.
-
#entity_class ⇒ Object
Returns the value of attribute entity_class.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(elements = [], entity_class = nil) ⇒ EntitySpec
constructor
A new instance of EntitySpec.
Methods inherited from AstNode
Constructor Details
#initialize(elements = [], entity_class = nil) ⇒ EntitySpec
Returns a new instance of EntitySpec.
204 205 206 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 204 def initialize elements=[],entity_class=nil @elements,@entity_class=elements,entity_class end |
Instance Attribute Details
#elements ⇒ Object
Returns the value of attribute elements.
203 204 205 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 203 def elements @elements end |
#entity_class ⇒ Object
Returns the value of attribute entity_class.
203 204 205 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 203 def entity_class @entity_class end |