Module: Mattock::CommandLineDSL
- Included in:
- CommandLineExampleGroup, CommandTaskMixin
- Defined in:
- lib/mattock/command-line.rb
Instance Method Summary collapse
Instance Method Details
#cmd(*args, &block) ⇒ Object
176 177 178 |
# File 'lib/mattock/command-line.rb', line 176 def cmd(*args, &block) CommandLine.new(*args, &block) end |
#escaped_command(*args, &block) ⇒ Object
180 181 182 |
# File 'lib/mattock/command-line.rb', line 180 def escaped_command(*args, &block) ShellEscaped.new(CommandLine.new(*args, &block)) end |