Class: WebkitRemote::Client::UndefinedClass

Inherits:
Object
  • Object
show all
Defined in:
lib/webkit_remote/client/runtime.rb

Overview

The class of the JavaScript undefined object.

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


103
104
105
# File 'lib/webkit_remote/client/runtime.rb', line 103

def blank?
  true
end

#empty?Boolean

Returns:

  • (Boolean)


99
100
101
# File 'lib/webkit_remote/client/runtime.rb', line 99

def empty?
  true
end

#inspectObject



123
124
125
# File 'lib/webkit_remote/client/runtime.rb', line 123

def inspect
  'JavaScript undefined'
end

#js_undefined?Boolean

Returns:

  • (Boolean)


95
96
97
# File 'lib/webkit_remote/client/runtime.rb', line 95

def js_undefined?
  true
end

#releaseObject



127
128
129
# File 'lib/webkit_remote/client/runtime.rb', line 127

def release
  self
end

#released?Boolean

Returns:

  • (Boolean)


131
132
133
# File 'lib/webkit_remote/client/runtime.rb', line 131

def released?
  true
end

#to_aObject



107
108
109
# File 'lib/webkit_remote/client/runtime.rb', line 107

def to_a
  []
end

#to_fObject



119
120
121
# File 'lib/webkit_remote/client/runtime.rb', line 119

def to_f
  0.0
end

#to_iObject



115
116
117
# File 'lib/webkit_remote/client/runtime.rb', line 115

def to_i
  0
end

#to_sObject



111
112
113
# File 'lib/webkit_remote/client/runtime.rb', line 111

def to_s
  ''
end