# File lib/microformat/string.rb, line 4 def coerce return true if self == 'true' return false if self == 'false' coerce_try { return Time.iso8601(self) } coerce_try { return Integer(self) } coerce_try { return Float(self) } self end