Class: Charming::Generators::ModelGenerator::Field
- Inherits:
-
Data
- Object
- Data
- Charming::Generators::ModelGenerator::Field
- Defined in:
- lib/charming/generators/model_generator.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
6 7 8 |
# File 'lib/charming/generators/model_generator.rb', line 6 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type
6 7 8 |
# File 'lib/charming/generators/model_generator.rb', line 6 def type @type end |