Type:
Class
Constants:
NoDelegateMethods : m.collect{|x| x.id2name}

In order to execute a command on your OS, you need to define it as a Shell method.

Alternatively, you can execute any command via #system even if it is not defined.

def_system_command
  • References/Ruby on Rails/Ruby/Classes/Shell/Shell::CommandProcessor

def_system_command(command, path) â Shell::SystemCommand Class Public methods Defines

2025-01-10 15:47:30
expand_path
  • References/Ruby on Rails/Ruby/Classes/Shell/Shell::CommandProcessor

expand_path(path) Instance Public methods

2025-01-10 15:47:30
initialize
  • References/Ruby on Rails/Ruby/Classes/Shell/Shell::CommandProcessor

initialize() Class Public methods

2025-01-10 15:47:30
find_system_command
  • References/Ruby on Rails/Ruby/Classes/Shell/Shell::CommandProcessor

find_system_command(command) Instance Public methods private functions

2025-01-10 15:47:30
method_added
  • References/Ruby on Rails/Ruby/Classes/Shell/Shell::CommandProcessor

method_added(id) Class Public methods

2025-01-10 15:47:30
alias_map
  • References/Ruby on Rails/Ruby/Classes/Shell/Shell::CommandProcessor

alias_map() Class Public methods Returns a list of aliased commands

2025-01-10 15:47:30
foreach
  • References/Ruby on Rails/Ruby/Classes/Shell/Shell::CommandProcessor

foreach(path, record_separator) â Enumeratorforeach(path, record_separator) { block } Instance Public methods

2025-01-10 15:47:30
rmdir
  • References/Ruby on Rails/Ruby/Classes/Shell/Shell::CommandProcessor

rmdir(path) Instance Public methods Same as

2025-01-10 15:47:30
append
  • References/Ruby on Rails/Ruby/Classes/Shell/Shell::CommandProcessor

append(to, filter) Instance Public methods

2025-01-10 15:47:30
transact
  • References/Ruby on Rails/Ruby/Classes/Shell/Shell::CommandProcessor

transact { block } Instance Public methods Executes a block as self

2025-01-10 15:47:30