Module: Caliph::CommandLineDSL
- Included in:
- CommandLineExampleGroup
- Defined in:
- lib/caliph/command-line-dsl.rb
Instance Method Summary collapse
Instance Method Details
#cmd(*args, &block) ⇒ Object
3 4 5 |
# File 'lib/caliph/command-line-dsl.rb', line 3 def cmd(*args, &block) CommandLine.new(*args, &block) end |
#escaped_command(*args, &block) ⇒ Object
7 8 9 |
# File 'lib/caliph/command-line-dsl.rb', line 7 def escaped_command(*args, &block) ShellEscaped.new(CommandLine.new(*args, &block)) end |