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