module Rooibos::Shortcuts::Cmd
Short alias for Command.
Public Class Methods
Source
# File lib/rooibos/shortcuts.rb, line 33 def self.exit Command.exit end
Creates an exit command. Alias for Command.exit.
Source
# File lib/rooibos/shortcuts.rb, line 45 def self.map(inner_command, &mapper) Command.map(inner_command, &mapper) end
Creates a mapped command. Short alias for Command.map.
Source
# File lib/rooibos/shortcuts.rb, line 39 def self.sh(command, envelope) Command.system(command, envelope) end
Creates a shell execution command. Short alias for Command.system.