Top Level Namespace

Defined Under Namespace

Modules: Mina

Instance Method Summary collapse

Instance Method Details

#hanami_command(tasks = [], description = nil) ⇒ Object



26
27
28
29
30
31
# File 'lib/mina/hanami/tasks.rb', line 26

def hanami_command(tasks = [], description = nil)
  in_path "#{fetch(:current_path)}" do
    comment description if description
    command %{#{fetch(:hanami)} #{tasks.join(' ')}}
  end
end