Class: Object

Inherits:
BasicObject
Includes:
Mustang::V8::Cast
Defined in:
lib/mustang/core_ext/object.rb

Instance Method Summary collapse

Methods included from Mustang::V8::Cast

#to_v8

Instance Method Details

#v8?Boolean

Returns true when given object is reflected from within V8.

Returns:

  • (Boolean)

7
8
9
# File 'lib/mustang/core_ext/object.rb', line 7

def v8?
  kind_of?(Mustang::V8::Data)
end