Class: ReferenceTracking::References
- Inherits:
-
Array
- Object
- Array
- ReferenceTracking::References
- Defined in:
- lib/reference_tracking/references.rb
Instance Method Summary collapse
-
#initialize(object, methods) ⇒ References
constructor
A new instance of References.
- #tags ⇒ Object
Constructor Details
#initialize(object, methods) ⇒ References
Returns a new instance of References.
3 4 5 |
# File 'lib/reference_tracking/references.rb', line 3 def initialize(object, methods) Tracker.setup(object, self, methods) end |
Instance Method Details
#tags ⇒ Object
7 8 9 |
# File 'lib/reference_tracking/references.rb', line 7 def uniq.map { |object, method| ReferenceTracking.to_tag(object, method) } end |