module Tapp module Util module_function def report_called inner, outer = caller.partition {|line| line.include?('/lib/tapp') } method_quoted = inner.last.split(':in').last.strip puts "#{method_quoted} in #{outer.first}" end end end