Class: String

Inherits:
Object show all
Defined in:
opal/stdlib/json.rb,
opal/stdlib/native.rb

Instance Method Summary collapse

Instance Method Details

#as_jsonObject

FIXME: remove this



178
179
180
# File 'opal/stdlib/json.rb', line 178

def as_json
  self
end

#to_nObject



347
348
349
# File 'opal/stdlib/native.rb', line 347

def to_n
  `self.valueOf()`
end