Sha256: 2b2e15b3813bd14113becc4ed33b83beb9d6fc95c1313a2d1c1b84146945c37b

Contents?: true

Size: 146 Bytes

Versions: 2

Compression:

Stored size: 146 Bytes

Contents

class Proc

  def to_proc
    self
  end

  def call(*args)
    # `args.unshift(self.$self);
    `return self.apply(self.$self, args);`
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
opal-0.3.1 gems/core/lib/core/proc.rb
opal-0.3.0 gems/core/lib/core/proc.rb