def_builtin_commands(delegation_class, command_specs) public

CommandProcessor.def_builtin_commands(delegation_class, command_specs)

  delegation_class: Class or Module
  command_specs: [[command_name, [argument,...]],...]
     command_name: String
     arguments:      String
        FILENAME?? -> expand_path(filename??)
        *FILENAME?? -> filename??.collect{|f|expand_path(f)}.join(", ")
define command_name(argument,...) as
    delegation_class.command_name(argument,...)
Show source
Register or log in to add new notes.