Exception: Yaso::UnhandledSwitchCaseError

Inherits:
Error
  • Object
show all
Defined in:
lib/yaso/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(klass) ⇒ UnhandledSwitchCaseError

Returns a new instance of UnhandledSwitchCaseError.



19
20
21
# File 'lib/yaso/errors.rb', line 19

def initialize(klass)
  super("Unhandled switch case in #{klass}")
end