module Tracer::Changes
Public Class Methods
included(base)
click to toggle source
# File lib/tracer_client/changes.rb, line 6 def self.included(base) base.send :extend, ClassMethods end
Public Instance Methods
log_changes?()
click to toggle source
# File lib/tracer_client/changes.rb, line 168 def log_changes? if_condition = self.changes_logging_options[:if] unless_condition = self.changes_logging_options[:unless] (if_condition.blank? || if_condition.call(self)) && !unless_condition.try(:call, self) end