Class: Shred::Commands::Test
- Inherits:
-
Base
- Object
- Thor
- Base
- Shred::Commands::Test
show all
- Defined in:
- lib/shred/commands/test.rb
Instance Attribute Summary
Attributes inherited from Base
#command_config, #command_name, #console
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#all ⇒ Object
7
8
9
10
|
# File 'lib/shred/commands/test.rb', line 7
def all
invoke(:server) if cfg('server', required: false)
invoke(:client) if cfg('client', required: false)
end
|
#client ⇒ Object
18
19
20
|
# File 'lib/shred/commands/test.rb', line 18
def client
run_shell_command(ShellCommand.new(command_lines: cfg('client')))
end
|
#server ⇒ Object
13
14
15
|
# File 'lib/shred/commands/test.rb', line 13
def server
run_shell_command(ShellCommand.new(command_lines: cfg('server')))
end
|