module Airbrake::Ignorable
def ignore!
- See: #ignored? -
Returns:
-
(void)
-
def ignore! self.ignored = true end
def ignored?
- See: #ignore! -
Returns:
-
(Boolean)
-
def ignored? !!ignored end
def raise_if_ignored
-
(Airbrake::Error)
- when instance is ignored
def raise_if_ignored return unless ignored? raise Airbrake::Error, "cannot access ignored #{self.class}" end