Class: QRPC::Generator::ObjectID
- Inherits:
-
Object
- Object
- QRPC::Generator::ObjectID
- Defined in:
- lib/qrpc/generator/object-id.rb
Overview
Ruby object ID generator.
Instance Method Summary collapse
-
#generate(object) ⇒ Symbol
(also: #generate!)
Generates Ruby object ID as ID for given object.
Instance Method Details
#generate(object) ⇒ Symbol Also known as: generate!
Generates Ruby object ID as ID for given object.
33 34 35 |
# File 'lib/qrpc/generator/object-id.rb', line 33 def generate(object) object.object_id end |