Class: Physique::FluentMigrator::Task
- Inherits:
-
Object
- Object
- Physique::FluentMigrator::Task
- Defined in:
- lib/physique/tasks/fluent_migrator.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(opts) ⇒ Task
constructor
A new instance of Task.
Constructor Details
#initialize(opts) ⇒ Task
Returns a new instance of Task.
150 151 152 |
# File 'lib/physique/tasks/fluent_migrator.rb', line 150 def initialize(opts) @cmd = Physique::FluentMigrator::Cmd.new opts end |
Instance Method Details
#execute ⇒ Object
154 155 156 |
# File 'lib/physique/tasks/fluent_migrator.rb', line 154 def execute @cmd.execute end |