Class: Reactor::Plans::RenameGroup
- Inherits:
-
Object
- Object
- Reactor::Plans::RenameGroup
- Includes:
- Prepared
- Defined in:
- lib/reactor/plans/rename_group.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ RenameGroup
constructor
A new instance of RenameGroup.
- #migrate! ⇒ Object
- #prepare! ⇒ Object
Methods included from Prepared
Constructor Details
#initialize(*args) ⇒ RenameGroup
Returns a new instance of RenameGroup.
10 11 12 13 14 15 |
# File 'lib/reactor/plans/rename_group.rb', line 10 def initialize(*args) (from, to), = separate_arguments(*args) @from = from || [:from] @to = to || [:to] end |