Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/core_ext/object.rb
Overview
Reopen the core Object class to add #identify to all objects.
Instance Method Summary collapse
-
#identify(*args, **kwargs) ⇒ String
Instance method for constructing a self-identifying string for any given object or list of objects.
Instance Method Details
#identify(*args) ⇒ String #identify(*args, options) ⇒ String
Instance method for constructing a self-identifying string for any given object or list of objects.
34 35 36 |
# File 'lib/core_ext/object.rb', line 34 def identify(*args, **kwargs) ObjectIdentifier.(self, *args, **kwargs) end |