class Roby::Interface::Command

A command on an {CommandLibrary}

Attributes

arguments[R]

@return [Hash<Symbol,CommandArgument>] the set of arguments for

this command
description[R]

@return [Array<String>] the command description. The first element

of the array is used as a command summary
name[R]

@return [Symbol] the command name

Public Class Methods

new(name, description, arguments = Hash.new) click to toggle source
# File lib/roby/interface/command.rb, line 14
def initialize(name, description, arguments = Hash.new)
    @name, @description, @arguments = name, Array(description), Kernel.normalize_options(arguments)
end

Public Instance Methods

droby_dump(peer) click to toggle source
# File lib/roby/interface/command.rb, line 18
def droby_dump(peer)
    self
end