lib/getopt/std.rb in getopt-1.4.3 vs lib/getopt/std.rb in getopt-1.4.4

- old
+ new

@@ -1,17 +1,17 @@ +require_relative 'version' + # The Getopt module serves as a namespace only module Getopt # The Getopt::Std class serves as a base class for the getopts method. class Std + include Getopt::Version # The Getopt::Std::Error class is raised if there are any illegal # command line arguments. # class Error < StandardError; end - - # The version of the getopt library - VERSION = '1.4.3' # Processes single character command line options with option # clustering. This information is parsed from ARGV and returned # as a hash, with the switch (minus the "-") as the key. The value # for that key is either true/false (boolean switches) or the argument