mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
9 lines
No EOL
172 B
Ruby
9 lines
No EOL
172 B
Ruby
module V8
|
|
class Function < V8::Object
|
|
|
|
def call(thisObject, *args)
|
|
To.ruby(@native.Call(To.v8(thisObject), *args.map {|a| To.v8(a)}))
|
|
end
|
|
|
|
end
|
|
end |