Class: Producer::Core::Actions::Echo

Inherits:
Producer::Core::Action show all
Defined in:
lib/producer/core/actions/echo.rb

Constant Summary

Constants inherited from Producer::Core::Action

Producer::Core::Action::INSPECT_ARGUMENTS_SUM_LEN

Instance Attribute Summary

Attributes inherited from Producer::Core::Action

#arguments, #env, #options

Instance Method Summary collapse

Methods inherited from Producer::Core::Action

#initialize, #to_s

Constructor Details

This class inherits a constructor from Producer::Core::Action

Instance Method Details

#applyObject



9
10
11
# File 'lib/producer/core/actions/echo.rb', line 9

def apply
  output.puts arguments
end

#nameObject



5
6
7
# File 'lib/producer/core/actions/echo.rb', line 5

def name
  'echo'
end