lib/thrush.rb
#TODO: Fix the local, ssh functions so that they will work even if they don't have a block passed in
Fix the local, ssh functions so that they will work even if they don't have a block passed in
Fix the local ssh functions so that they will work even if they don ' t have a block passed in
def local(command, &block)
  lc = ThrushItemBuilder.new
  lc.command command
  lc.type :local
  @commands << Docile.dsl_eval(lc, &block).build
end
def local ( command , & block ) lc = ThrushItemBuilder . new lc . command command lc . type :local @commands << Docile . dsl_eval ( lc , & block ) . build end
TODO: Fix the local, ssh functions so that they will work even if they don't have a block passed in
TODO : Fix the local ssh functions so that they will work even if they don ' t have a block passed in
command
block