Class: ActiveColumn::MigrationProxy
- Defined in:
- lib/active_column/migration.rb
Overview
MigrationProxy is used to defer loading of the actual migration classes until they are needed
Instance Attribute Summary collapse
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#name ⇒ Object
Returns the value of attribute name.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
Instance Attribute Details
#filename ⇒ Object
Returns the value of attribute filename.
104 105 106 |
# File 'lib/active_column/migration.rb', line 104 def filename @filename end |
#name ⇒ Object
Returns the value of attribute name.
104 105 106 |
# File 'lib/active_column/migration.rb', line 104 def name @name end |
#version ⇒ Object
Returns the value of attribute version.
104 105 106 |
# File 'lib/active_column/migration.rb', line 104 def version @version end |
Instance Method Details
#announce(*args) ⇒ Object
110 111 112 |
# File 'lib/active_column/migration.rb', line 110 def announce(*args) migration.announce *args end |
#migrate(*args) ⇒ Object
106 107 108 |
# File 'lib/active_column/migration.rb', line 106 def migrate(*args) migration.migrate *args end |
#write(*args) ⇒ Object
114 115 116 |
# File 'lib/active_column/migration.rb', line 114 def write(*args) migration.write *args end |