This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is based on code copied from https://bugs.ruby-lang.org/issues/12323 | |
# to replace non-working example given in the rdocs for the OptionParser class | |
require 'optparse' | |
require 'optparse/time' | |
require 'ostruct' | |
require 'pp' | |
class OptparseExample | |
Version = '1.0.1' |