Class: MagicModels::Schema::Dump
- Defined in:
- lib/magic_models/schema.rb
Instance Attribute Summary collapse
-
#destination ⇒ Object
Returns the value of attribute destination.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ Dump
constructor
A new instance of Dump.
Methods inherited from Base
#data_sources, #exclude, #models
Constructor Details
#initialize ⇒ Dump
Returns a new instance of Dump.
46 47 48 49 |
# File 'lib/magic_models/schema.rb', line 46 def initialize super @destination = File.join(Dir.pwd, 'app', 'models') end |
Instance Attribute Details
#destination ⇒ Object
Returns the value of attribute destination.
44 45 46 |
# File 'lib/magic_models/schema.rb', line 44 def destination @destination end |