Implement Action#output (delegates to env.output)

This commit is contained in:
Thibault Jouan committed 2014-01-09 00:43:01 +00:00
1 parent 103b9d1230
commit e567c61e4e
5 files changed
+15 -3

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ module Producer
module Actions
class Echo < Action
def apply
env.output.puts arguments.first
output.puts arguments.first
end
end
end
+1 -1
View File
@@ -3,7 +3,7 @@ module Producer
module Actions
class ShellCommand < Action
def apply
env.output.puts env.remote.execute(arguments.first)
output.puts env.remote.execute(arguments.first)
end
end
end