Class: MintLogger::CallingMethod

Inherits:
Object
  • Object
show all
Includes:
Utils::Common
Defined in:
src/mintpress-logger/lib/mintpress-logger/calling_method.rb

Properties (Read/Write)

Properties (Read Only)

Constant Summary collapse

CALLING_METHOD_REGEX =
/^(rescue in )?block( \(\d+ levels\))? in/.freeze
FILE_OPEN_MODE =
File::RDWR | File::CREAT | File::EXCL
FIXED_BACKTRACE_NESTING =
5

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Constructor Details

#initialize(source_class_name, source_object_id) ⇒ CallingMethod

Returns a new instance of CallingMethod.

Instance Attribute Details

#source_class_nameObject (readonly)

Returns the value of attribute source_class_name.

#source_object_idObject (readonly)

Returns the value of attribute source_object_id.

Instance Method Details

#clearObject

#method_matches?(match_val) ⇒ Boolean

Returns:

  • (Boolean)

#store(source_class_name, source_object_id, nesting = 0) ⇒ Object

#to_sObject