Class: NilClass

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

Instance Method Summary collapse

Instance Method Details

#to_jsonObject



165
166
167
# File 'opal/stdlib/json.rb', line 165

def to_json
  'null'
end

#to_nObject



441
442
443
# File 'opal/stdlib/native.rb', line 441

def to_n
  `null`
end