lib/eco/api/common/people/default_parsers/boolean_parser.rb in eco-helpers-2.0.57 vs lib/eco/api/common/people/default_parsers/boolean_parser.rb in eco-helpers-2.0.58
- old
+ new
@@ -9,10 +9,10 @@
value.to_s
end
private
- def truthy (value)
+ def truthy(value)
%w[true y yes x].include?(value.to_s.strip.downcase)
end
end