class MtkFramework::ActiveInteractionConcerns::Loggable::BacktraceCleaner

Constants

APP_DIRS_PATTERN
CURRENT_FILE

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/mtk_framework/active_interaction_concerns/loggable.rb, line 69
def initialize
  super
  remove_silencers!
  add_silencer { |line| !APP_DIRS_PATTERN.match?(line) }
  add_silencer { |line| line.include? current_file }
end

Private Instance Methods

current_file() click to toggle source
# File lib/mtk_framework/active_interaction_concerns/loggable.rb, line 78
def current_file
  CURRENT_FILE.gsub(@root, '')
end