Class: Migrate::FileController
- Inherits:
-
Object
- Object
- Migrate::FileController
- Defined in:
- lib/migrate/controller.rb
Instance Method Summary collapse
-
#initialize(root) ⇒ FileController
constructor
A new instance of FileController.
- #load_migrations ⇒ Object
- #migrations ⇒ Object
Constructor Details
#initialize(root) ⇒ FileController
Returns a new instance of FileController.
55 56 57 58 59 |
# File 'lib/migrate/controller.rb', line 55 def initialize(root) @root = root super() end |
Instance Method Details
#load_migrations ⇒ Object
65 66 67 |
# File 'lib/migrate/controller.rb', line 65 def load_migrations end |
#migrations ⇒ Object
61 62 63 |
# File 'lib/migrate/controller.rb', line 61 def migrations @migrations ||= load_migrations end |