Class: Tracee::Preprocessors::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/tracee/preprocessors/base.rb

Direct Known Subclasses

Colorize, Formatter, QuietAssets

Instance Method Summary collapse

Instance Method Details

#call(msg_level, datetime, progname, msg, caller_slice = []) ⇒ Object



5
6
7
# File 'lib/tracee/preprocessors/base.rb', line 5

def call(msg_level, datetime, progname, msg, caller_slice=[])
  msg
end

#halt!Object



9
10
11
# File 'lib/tracee/preprocessors/base.rb', line 9

def halt!
  throw :halt
end

#inspectObject



13
14
15
# File 'lib/tracee/preprocessors/base.rb', line 13

def inspect
  '#<%s:0x00%x>'% [self.class.name, object_id << 1]
end