Class: DatabasePatcher::Action
- Inherits:
-
Object
- Object
- DatabasePatcher::Action
- Defined in:
- lib/database_patcher/action.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Initializer, PatchApplier, PatchCreator
Instance Attribute Summary collapse
-
#interface ⇒ Object
readonly
Returns the value of attribute interface.
Instance Method Summary collapse
-
#initialize(interface = DatabasePatcher::Interface::Null.new) ⇒ Action
constructor
A new instance of Action.
Constructor Details
#initialize(interface = DatabasePatcher::Interface::Null.new) ⇒ Action
Returns a new instance of Action.
8 9 10 |
# File 'lib/database_patcher/action.rb', line 8 def initialize(interface=DatabasePatcher::Interface::Null.new) @interface = interface end |
Instance Attribute Details
#interface ⇒ Object (readonly)
Returns the value of attribute interface.
7 8 9 |
# File 'lib/database_patcher/action.rb', line 7 def interface @interface end |