Class: Tux::Runner
- Inherits:
-
Ripl::Runner
- Object
- Ripl::Runner
- Tux::Runner
- Defined in:
- lib/tux/runner.rb
Class Method Summary collapse
Class Method Details
.parse_option(option, argv) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/tux/runner.rb', line 6 def self.parse_option(option, argv) if option[/(?:-c|--config)=?(.*)/] ENV['RACK_CONFIG'] = $1.empty? ? argv.shift.to_s : $1 else super end end |