Parent

Methods

SafeYAML::Transform::ToFloat

Constants

MATCHER

Public Instance Methods

transform?(value) click to toggle source
# File lib/safe_yaml/transform/to_float.rb, line 6
def transform?(value)
  return false unless MATCHER.match(value)
  return true, value.to_f
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.