Sha256: 8a6cb296e42eb25ba9510af75be1ec1c8c999f55d6285720e08bf18f65f2bbbd
Contents?: true
Size: 387 Bytes
Versions: 108
Compression:
Stored size: 387 Bytes
Contents
require 'optparse' class OptionParser alias_method :orig_parse!, :parse! # Extend this method to save all original options so that they can # be later appended to any LSF submissions def parse!(*args) lsf_options = ARGV.dup orig_parse!(*args) lsf_options -= ARGV # Now contains all original options Origen.app.lsf_manager.command_options = lsf_options end end
Version data entries
108 entries across 108 versions & 1 rubygems