Class: Glark::OptionSet
- Inherits:
-
OptProc::OptionSet
- Object
- OptProc::OptionSet
- Glark::OptionSet
- Includes:
- Logue::Loggable
- Defined in:
- lib/glark/app/options.rb
Instance Method Summary collapse
Instance Method Details
#set_option(results) ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/glark/app/options.rb', line 23 def set_option results # intercept these, which we'll use to create the expression: %w{ -o --or --and -a \( \) --xor }.each do |tag| return nil if results.current_arg.index(tag) == 0 end super end |