class String
This will eventually be moved into Opal
Public Instance Methods
to_json()
click to toggle source
# File lib/hyperstack/string.rb, line 3 def to_json `JSON.stringify(#{self})` end
This will eventually be moved into Opal
# File lib/hyperstack/string.rb, line 3 def to_json `JSON.stringify(#{self})` end