lib/get_args.rb in get_args-1.0.0 vs lib/get_args.rb in get_args-1.1.0
- old
+ new
@@ -7,9 +7,16 @@
elsif RUBY_VERSION < "1.9"
require 'mri_args'
else
require 'vm_args'
end
+require 'argument_list'
+
+module GetArgs
+ def get_argument_list
+ ArgumentList.new(get_args.first)
+ end
+end
class UnboundMethod
include GetArgs
end