Sha256: a2bba67138b049d4cb6fd5981c6a1bf3ec9ae42a3d04bb1d21a427f079928b93

Contents?: true

Size: 250 Bytes

Versions: 1

Compression:

Stored size: 250 Bytes

Contents

require 'optparse'

$jazrb_verbose = false
$jazrb_xml = false

parser = OptionParser.new do |o|

  o.on("-v","--verbose") do 
    $jazrb_verbose = true
  end

  o.on("-x","--xml") do 
    $jazrb_xml = true
  end

end

$jazrb_args = parser.parse ARGV

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smparkes-jazrb-0.0.8 lib/jazrb/options.rb