Parent

Methods

SafeYAML::Transform::ToInteger

Constants

MATCHER

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.