Class: OptionParser
Instance Method Summary collapse
- #orig_parse! ⇒ Object
-
#parse!(*args) ⇒ Object
Extend this method to save all original options so that they can be later appended to any LSF submissions.
Instance Method Details
#orig_parse! ⇒ Object
3 |
# File 'lib/option_parser/optparse.rb', line 3 alias_method :orig_parse!, :parse! |
#parse!(*args) ⇒ Object
Extend this method to save all original options so that they can be later appended to any LSF submissions
6 7 8 9 10 11 |
# File 'lib/option_parser/optparse.rb', line 6 def parse!(*args) = ARGV.dup orig_parse!(*args) -= ARGV # Now contains all original options Origen.app.lsf_manager. = end |