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