Class: Gitjour::Application
- Inherits:
-
Object
- Object
- Gitjour::Application
- Defined in:
- lib/gitjour/application.rb
Defined Under Namespace
Classes: Done
Constant Summary collapse
- @@announcements =
{}
Class Method Summary collapse
Class Method Details
.run(*args) ⇒ Object
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/gitjour/application.rb', line 26 def run(*args) case args.shift when "list" list when "clone" clone(*args) when "serve" serve(*args) when "remote" remote(*args) when "fetch" fetch(*args) else help end end |