module G::Command

Public Class Methods

run(command, args) click to toggle source
# 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