Class: Chronicles::Injector
- Inherits:
-
Object
- Object
- Chronicles::Injector
- Defined in:
- lib/chronicles/injector.rb
Overview
Injects the code to object methods selected by options
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#list ⇒ Object
readonly
Returns the value of attribute list.
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object, code = nil, **options) ⇒ Injector
constructor
A new instance of Injector.
- #run ⇒ Object
- #updaters ⇒ Object
Constructor Details
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
10 11 12 |
# File 'lib/chronicles/injector.rb', line 10 def code @code end |
#list ⇒ Object (readonly)
Returns the value of attribute list.
10 11 12 |
# File 'lib/chronicles/injector.rb', line 10 def list @list end |
#object ⇒ Object (readonly)
Returns the value of attribute object.
10 11 12 |
# File 'lib/chronicles/injector.rb', line 10 def object @object end |