module Tapp::Util

Public Instance Methods

report_called() click to toggle source
# File lib/tapp/util.rb, line 5
def report_called
  inner, outer = caller.partition {|line|
    line =~ %r(/lib/tapp/(?!turnip))
  }

  method_quoted = inner.last.split(':in').last.strip

  puts "#{method_quoted} in #{outer.first}"
end