lib/wannabe_bool/configuration.rb in wannabe_bool-0.7.0 vs lib/wannabe_bool/configuration.rb in wannabe_bool-0.7.1
- old
+ new
@@ -1,4 +1,5 @@
+# frozen_string_literal: true
module WannabeBool::Configuration
def invalid_value_behaviour=(behaviour)
raise ArgumentError, 'behaviour does not respond to call method' unless behaviour.respond_to?(:call)
@invalid_value_behaviour = behaviour