Method: Docman::Command#prefix
- Defined in:
- lib/docman/commands/command.rb
#prefix ⇒ Object
124 125 126 127 128 129 |
# File 'lib/docman/commands/command.rb', line 124 def prefix prefix = [] prefix << @caller.prefix if not @caller.nil? and @caller.respond_to? :prefix prefix << self.class.name prefix.join(' - ') end |