Module: G::Command
- Defined in:
- lib/g.rb
Class Method Summary collapse
Class Method Details
.run(command, args) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/g.rb', line 8 def self.run(command, args) if command == "headlines" G::Commands::Headline.list(args) else raise Exception.new("Invalide command") end end |