Method: Docman::Info#commands
- Defined in:
- lib/docman/info.rb
#commands(type, hook) ⇒ Object
140 141 142 143 144 145 |
# File 'lib/docman/info.rb', line 140 def commands(type, hook) if self.has_key? 'actions' and self['actions'].has_key? type and self['actions'][type].has_key? hook return self['actions'][type][hook] end [] end |