Class: Sol::JSUndefined
Instance Attribute Summary
Attributes inherited from JSObject
Instance Method Summary collapse
-
#typeof ⇒ Object
————————————————————————————.
-
#undefined? ⇒ Boolean
————————————————————————————.
Methods inherited from JSObject
#array?, #assign, #boolean?, #boolean_object?, build, #function?, #initialize, #instanceof, #method_missing, #nil?, #number?, #number_object?, #object?, #string?, #string_object?
Constructor Details
This class inherits a constructor from Sol::JSObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Sol::JSObject
Instance Method Details
#typeof ⇒ Object
32 33 34 |
# File 'lib/jx/jsundefined.rb', line 32 def typeof B.push("undefined") end |
#undefined? ⇒ Boolean
40 41 42 |
# File 'lib/jx/jsundefined.rb', line 40 def undefined? true end |