Method: Earthquake::OptionParser#parse
- Defined in:
- lib/earthquake/option_parser.rb
#parse ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/earthquake/option_parser.rb', line 13 def parse @slop.parse!(@argv) = @slop.to_hash raise Help if .delete(:help) [:dir] = @argv.shift unless @argv.empty? end |