Class: Trailblazer::Operation

Inherits:
Object
  • Object
show all
Defined in:
lib/caco.rb

Defined Under Namespace

Classes: InvalidParam

Instance Method Summary collapse

Instance Method Details

#p(message) ⇒ Object



103
104
105
106
# File 'lib/caco.rb', line 103

def p(message)
  method_name = (caller[0] =~ /`([^']*)'/ and $1)
  puts "#{self.class}##{method_name}: #{message}"
end