Class: TableSync::NoCallableError

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

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ NoCallableError

Returns a new instance of NoCallableError.



27
28
29
30
31
32
# File 'lib/table_sync/errors.rb', line 27

def initialize(type)
  super("    Can't find callable for \#{type}!\n    Please initialize TableSync.\#{type}_callable with the correct proc!\n  MSG\nend\n".squish)