class Coercible::Coercer::String
Public Instance Methods
parse_value(parser, value, method)
click to toggle source
# File lib/gfycat/patches/timestamp_coercion.rb, line 5 def parse_value(parser, value, method) parser.strptime(value, "%s") rescue ArgumentError raise_unsupported_coercion(value, method) end