lib/trav3.rb in trav3-0.3.2 vs lib/trav3.rb in trav3-0.3.3
- old
+ new
@@ -2551,10 +2551,9 @@
k.match?(/name|value|public/) &&
case k.to_s
when /name/ then v.is_a? String
when /value/ then v.is_a? String
when /public/ then [true, false].include? v
- else false
end
end
end
# rubocop:enable Metrics/CyclomaticComplexity