Class: GoonModelGen::Source::Struct
- Defined in:
- lib/goon_model_gen/source/struct.rb
Instance Attribute Summary collapse
-
#id_name ⇒ Object
Returns the value of attribute id_name.
-
#id_type ⇒ Object
Returns the value of attribute id_type.
-
#ref_name ⇒ Object
Returns the value of attribute ref_name.
Attributes inherited from Type
Attributes included from Contextual
Instance Method Summary collapse
Methods inherited from Type
Constructor Details
This class inherits a constructor from GoonModelGen::Source::Type
Instance Attribute Details
#id_name ⇒ Object
Returns the value of attribute id_name.
9 10 11 |
# File 'lib/goon_model_gen/source/struct.rb', line 9 def id_name @id_name end |
#id_type ⇒ Object
Returns the value of attribute id_type.
9 10 11 |
# File 'lib/goon_model_gen/source/struct.rb', line 9 def id_type @id_type end |
#ref_name ⇒ Object
Returns the value of attribute ref_name.
10 11 12 |
# File 'lib/goon_model_gen/source/struct.rb', line 10 def ref_name @ref_name end |
Instance Method Details
#fields ⇒ Object
12 13 14 |
# File 'lib/goon_model_gen/source/struct.rb', line 12 def fields @fields ||= [] end |