class QueryTrack::Trace
Attributes
full_trace[R]
Public Class Methods
new(full_trace)
click to toggle source
# File lib/query_track/trace.rb, line 5 def initialize(full_trace) @full_trace = full_trace end
Public Instance Methods
call()
click to toggle source
# File lib/query_track/trace.rb, line 9 def call full_trace.select { |v| v =~ %r{#{QueryTrack::Settings.config.app_dir}/} }[0] end