# File lib/safe_yaml/transform/to_integer.rb, line 11 def transform?(value) MATCHERS.each_with_index do |matcher, idx| value = value.gsub(/[_,]/, "") if idx == 0 return true, Integer(value) if matcher.match(value) end try_edge_cases?(value) end