Class: Reactor::Plans::UpdateAttribute
- Inherits:
-
CommonAttribute
- Object
- CommonAttribute
- Reactor::Plans::UpdateAttribute
- Defined in:
- lib/reactor/plans/update_attribute.rb
Constant Summary
Constants inherited from CommonAttribute
CommonAttribute::ALLOWED_PARAMS
Instance Method Summary collapse
-
#initialize(*args) ⇒ UpdateAttribute
constructor
A new instance of UpdateAttribute.
- #migrate! ⇒ Object
- #prepapre! ⇒ Object
Methods inherited from CommonAttribute
Methods included from Prepared
Constructor Details
#initialize(*args) ⇒ UpdateAttribute
Returns a new instance of UpdateAttribute.
5 6 7 8 9 |
# File 'lib/reactor/plans/update_attribute.rb', line 5 def initialize(*args) super() (name, x), = separate_arguments(*args) @name = name || [:name] end |