Class: RubyRunJs::JsNull

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_run_js/objects/js_misc.rb

Overview

class for null

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.instanceObject



15
16
17
18
# File 'lib/ruby_run_js/objects/js_misc.rb', line 15

def self.instance
  @instance ||= JsNull.new
  @instance
end

Instance Method Details

#_classObject



11
12
13
# File 'lib/ruby_run_js/objects/js_misc.rb', line 11

def _class
  'Null'
end

#_typeObject



7
8
9
# File 'lib/ruby_run_js/objects/js_misc.rb', line 7

def _type
  'object'
end