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
167 168 169 |
# File 'lib/mattock/command-line.rb', line 167 def cmd(*args, &block) CommandLine.new(*args, &block) end |
#escaped_command(*args, &block) ⇒ Object
171 172 173 |
# File 'lib/mattock/command-line.rb', line 171 def escaped_command(*args, &block) ShellEscaped.new(CommandLine.new(*args, &block)) end |