lib/options.rb in options-2.3.0 vs lib/options.rb in options-2.3.1
- old
+ new
@@ -1,10 +1,14 @@
module Options
- Options::VERSION = '2.3.0' unless defined?(Options::VERSION)
+ Options::VERSION = '2.3.1' unless defined?(Options::VERSION)
class << Options
def version
Options::VERSION
+ end
+
+ def description
+ 'parse options from *args cleanly'
end
def normalize!(hash)
hash.keys.each{|key| hash[key.to_s.to_sym] = hash.delete(key) unless Symbol===key}
hash