class Sentry::Profiler
def split_module(name)
def split_module(name) # last module plus class/instance method i = name.rindex('::') function = i ? name[(i + 2)..-1] : name mod = i ? name[0...i] : nil [function, mod] end
def split_module(name) # last module plus class/instance method i = name.rindex('::') function = i ? name[(i + 2)..-1] : name mod = i ? name[0...i] : nil [function, mod] end