Class: WAB::TypeError

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Data values must either be a Hash or an Array') ⇒ TypeError

Returns a new instance of TypeError.



8
9
10
# File 'lib/wab/errors.rb', line 8

def initialize(msg='Data values must either be a Hash or an Array')
  super(msg)
end