Class: Automigration::Dsl
- Inherits:
-
Object
- Object
- Automigration::Dsl
- Defined in:
- lib/automigration/dsl.rb
Instance Attribute Summary collapse
-
#fields ⇒ Object
readonly
Returns the value of attribute fields.
Instance Method Summary collapse
-
#initialize ⇒ Dsl
constructor
A new instance of Dsl.
Constructor Details
#initialize ⇒ Dsl
Returns a new instance of Dsl.
5 6 7 |
# File 'lib/automigration/dsl.rb', line 5 def initialize @fields = [] end |
Instance Attribute Details
#fields ⇒ Object (readonly)
Returns the value of attribute fields.
3 4 5 |
# File 'lib/automigration/dsl.rb', line 3 def fields @fields end |