Module: Chronicles
- Defined in:
- lib/chronicles.rb,
lib/chronicles/methods.rb,
lib/chronicles/updater.rb,
lib/chronicles/injector.rb
Overview
The module adds features to keep chronicles of object’s methods calls
Defined Under Namespace
Classes: Injector, Methods, Updater
Instance Attribute Summary collapse
-
#chronicles ⇒ Array<Symbol>
readonly
Returns the array of object methods having been called.
Instance Method Summary collapse
-
#start_chronicles(**options) ⇒ undefined
Starts registation of calls of the selected methods of the object.
-
#stop_chronicles(**options) ⇒ undefined
Stops registation of calls of the selected methods of the object.
Instance Attribute Details
#chronicles ⇒ Array<Symbol> (readonly)
Returns the array of object methods having been called
15 16 17 |
# File 'lib/chronicles.rb', line 15 def chronicles @chronicles ||= [] end |