Sha256: f767b1c9209fc511c817f50a4d77f5edc7791e2f1b062f81c6af5c587f1f06ae

Contents?: true

Size: 166 Bytes

Versions: 1

Compression:

Stored size: 166 Bytes

Contents

class Proc
  def a_call(*args)
    pl = self.arity
    arr = Array.new(pl, nil)
    arr.each_index do |i|
      arr[i] = args[i]
    end
    self.call(*arr)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubygoods-0.0.1.1 lib/rubygoods/proc.rb