Send Integer, Booleans, NilClass to String
[Source]
# File yaml/rubytypes.rb, line 578 def is_complex_yaml? false end
# File yaml/rubytypes.rb, line 581 def to_yaml( opts = {} ) str = self.to_s if str == "Infinity" str = ".Inf" elsif str == "-Infinity" str = "-.Inf" elsif str == "NaN" str = ".NaN" end opts[:KeepValue] = true str.to_yaml( opts ) end
[Validate]