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



144
145
146
# File 'opal/stdlib/json.rb', line 144

def to_json
  'null'
end

#to_nObject



452
453
454
# File 'opal/stdlib/native.rb', line 452

def to_n
  `null`
end