Object
# File lib/safe_yaml/transform/to_date.rb, line 4 def transform?(value) return true, Date.parse(value) if Parse::Date::DATE_MATCHER.match(value) return true, Parse::Date.value(value) if Parse::Date::TIME_MATCHER.match(value) false end
[Validate]
Generated with the Darkfish Rdoc Generator 2.