Class: GemOnDemand::CLI
- Inherits:
-
Object
- Object
- GemOnDemand::CLI
- Defined in:
- lib/gem_on_demand/cli.rb
Class Method Summary collapse
Class Method Details
.run(argv) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/gem_on_demand/cli.rb', line 8 def run(argv) = (argv) if expire = [:expire] GemOnDemand.expire(*expire.split("/")) else GemOnDemand::Server.run!() end 0 end |