class Dizby::IdConverter
Public Class Methods
to_id(obj)
click to toggle source
# File lib/dizby/converter/simple.rb, line 13 def self.to_id(obj) obj.__id__ end
to_obj(ref)
click to toggle source
# File lib/dizby/converter/simple.rb, line 9 def self.to_obj(ref) ObjectSpace._id2ref(ref) end