Class: NilClass

Inherits:
Object show all
Defined in:
/Users/elia/Code/opal-docs/opal/stdlib/json.rb,
/Users/elia/Code/opal-docs/opal/stdlib/native.rb

Instance Method Summary collapse

Instance Method Details

#to_jsonObject


165
166
167
# File '/Users/elia/Code/opal-docs/opal/stdlib/json.rb', line 165

def to_json
  'null'
end

#to_nObject

Public: Returns the corresponding JavaScript value (null).


524
525
526
# File '/Users/elia/Code/opal-docs/opal/stdlib/native.rb', line 524

def to_n
  `null`
end