lib/options.rb in options-2.2.0 vs lib/options.rb in options-2.3.0

- old
+ new

@@ -1,7 +1,7 @@ module Options - Options::VERSION = '2.2.0' unless defined?(Options::VERSION) + Options::VERSION = '2.3.0' unless defined?(Options::VERSION) class << Options def version Options::VERSION end @@ -51,10 +51,10 @@ args.extend(Arguments) unless args.is_a?(Arguments) [args, args.options.pop] when Hash Options.for(args) else - raise ArgumentError, "`args` should be and Array or Hash" + raise ArgumentError, "`args` should be an Array or Hash" end end end def to_options!