Module: Kernel

Defined in:
lib/utilities/kernel.rb

Instance Method Summary collapse

Instance Method Details

#raiser(*args) ⇒ Object

Add .inspect to any object passed, than call Kernel.raise



3
4
5
# File 'lib/utilities/kernel.rb', line 3

def raiser(*args)
  raise args.collect(&:inspect).join(", ")
end