Class: Ellipses::Client::Commands::Translate
- Inherits:
-
Ellipses::Client::Command
- Object
- Ellipses::Client::Command
- Ellipses::Client::Commands::Translate
- Defined in:
- lib/ellipses/client/commands/translate.rb
Constant Summary
Constants inherited from Ellipses::Client::Command
Ellipses::Client::Command::Error
Instance Attribute Summary
Attributes inherited from Ellipses::Client::Command
Instance Method Summary collapse
Methods inherited from Ellipses::Client::Command
#error, #initialize, #setup, #to_s
Methods included from Ellipses::Client::Command::DSL
Constructor Details
This class inherits a constructor from Ellipses::Client::Command
Instance Method Details
#call(input) ⇒ Object
9 10 11 |
# File 'lib/ellipses/client/commands/translate.rb', line 9 def call(input) input.map { |line| line.tr(*argv) } end |