class NilClass
Public Instance Methods
to_j(indent = 0)
click to toggle source
@return [String] Json for the nil, which is “null”
# File lib/nil.rb, line 3 def to_j(indent = 0) " "*indent + "null" end
@return [String] Json for the nil, which is “null”
# File lib/nil.rb, line 3 def to_j(indent = 0) " "*indent + "null" end