Class: Rubotium::Adb::Commands::ShellCommand
- Inherits:
-
Object
- Object
- Rubotium::Adb::Commands::ShellCommand
- Defined in:
- lib/rubotium/adb/commands/shell_command.rb
Constant Summary collapse
- COMMAND =
'shell'
Instance Method Summary collapse
- #executable_command ⇒ Object
-
#initialize(command) ⇒ ShellCommand
constructor
A new instance of ShellCommand.
Constructor Details
#initialize(command) ⇒ ShellCommand
Returns a new instance of ShellCommand.
7 8 9 |
# File 'lib/rubotium/adb/commands/shell_command.rb', line 7 def initialize(command) @command = command end |
Instance Method Details
#executable_command ⇒ Object
11 12 13 |
# File 'lib/rubotium/adb/commands/shell_command.rb', line 11 def executable_command "#{COMMAND} #{command}" end |