Sha256: 1398f7800a080340772d1cfbd05d80d046edbcc6df8ca35c220be23fa9756fa7

Contents?: true

Size: 369 Bytes

Versions: 2

Compression:

Stored size: 369 Bytes

Contents

require 'extlib'

$:.push(File.dirname(__FILE__))

if RUBY_PLATFORM == "java"
  require 'jruby_args'
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

class Method
  include GetArgs
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
get_args-1.1.1 lib/get_args.rb
get_args-1.1.0 lib/get_args.rb