class RubyRunJs::JsNumber

Public Class Methods

new(value, prototype) click to toggle source
Calls superclass method RubyRunJs::JsBaseObject::new
# File lib/ruby_run_js/objects/js_number.rb, line 7
def initialize(value, prototype)
  super()
  @value = to_number(value)
  @prototype = prototype
  @_class = 'Number'
end