Module: WannabeBool::InvalidValueBehaviour::Error

Defined in:
lib/wannabe_bool/invalid_value_behaviour.rb

Class Method Summary collapse

Class Method Details

.callObject

Raises:

  • (ArgumentError)


16
17
18
# File 'lib/wannabe_bool/invalid_value_behaviour.rb', line 16

def self.call
  raise ArgumentError, 'is not a valid boolean representation'
end