lib/rice_bubble/attributes/boolean.rb in rice_bubble-0.1.2 vs lib/rice_bubble/attributes/boolean.rb in rice_bubble-0.2.0

- old
+ new

@@ -1,11 +1,7 @@ module RiceBubble class Attributes class Boolean < Base - def validate!(value, path:, **) - super(value, coerced: value, path:) - end - def valid?(value) [true, false].include?(value) end end end