Class: MintLogger::CallingMethod
- Inherits:
-
Object
- Object
- MintLogger::CallingMethod
- 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
-
#source_class_name ⇒ Object
readonly
Returns the value of attribute source_class_name.
-
#source_object_id ⇒ Object
readonly
Returns the value of attribute source_object_id.
Instance Method Summary collapse
- #clear ⇒ Object
-
#initialize(source_class_name, source_object_id) ⇒ CallingMethod
constructor
A new instance of CallingMethod.
- #method_matches?(match_val) ⇒ Boolean
- #store(source_class_name, source_object_id, nesting = 0) ⇒ Object
- #to_s ⇒ Object
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_name ⇒ Object (readonly)
Returns the value of attribute source_class_name.
#source_object_id ⇒ Object (readonly)
Returns the value of attribute source_object_id.