class RubyRunJs::JsString
Public Class Methods
new(value, prototype)
click to toggle source
Calls superclass method
RubyRunJs::JsBaseObject::new
# File lib/ruby_run_js/objects/js_string.rb, line 7 def initialize(value, prototype) super() @value = to_string(value) @prototype = prototype @_class = 'String' end