Sha256: df66ef53f1cc5df7a9482303c5b51c9df52e41f548d6fdcb1876c0debc750d7a

Contents?: true

Size: 186 Bytes

Versions: 2

Compression:

Stored size: 186 Bytes

Contents

module V8
  class Function
    def call(*args, &block)
      call_on(@receiver, *args, &block);
    end

    def to_proc
      origin.to_proc if origin
    end
  end # Function
end # V8

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mustang-0.1.1 lib/v8/function.rb
mustang-0.1.0 lib/v8/function.rb