Method: Mixin::Database#add_command
- Defined in:
- lib/fox/interface/thor/mixin/database.rb
#add_command(command, *arguments) ⇒ Object
26 27 28 29 30 31 |
# File 'lib/fox/interface/thor/mixin/database.rb', line 26 def add_command command, *arguments history = History.new history.command = command history.arguments = arguments.join(" ") history.save end |