Sha256: 20356c7810347abc8f1c94da68e6f1bbf0b095030154732770e10cd0c0b92f0a
Contents?: true
Size: 237 Bytes
Versions: 1
Compression:
Stored size: 237 Bytes
Contents
module Semaphore require "optparse" def self.parse options = {} parser = OptionParser.new do |opts| opts.on("--thread INDEX") { |index| options[:index] = index.to_i } end parser.parse! options end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
semaphore_test_boosters-0.3.0 | lib/test_boosters/cli_parser.rb |