Class: Boolean
Instance Method Summary collapse
-
#as_json ⇒ Object
FIXME: remove this.
- #to_json ⇒ Object
- #to_n ⇒ Object
Instance Method Details
#as_json ⇒ Object
FIXME: remove this
130 131 132 |
# File 'opal/stdlib/json.rb', line 130 def as_json self end |
#to_json ⇒ Object
134 135 136 |
# File 'opal/stdlib/json.rb', line 134 def to_json `(self == true) ? 'true' : 'false'` end |
#to_n ⇒ Object
412 413 414 |
# File 'opal/stdlib/native.rb', line 412 def to_n `self.valueOf()` end |