Sha256: 3869958764bf14553380f57ae2c524cbedba40146277eae30f1205cfbfe6840b

Contents?: true

Size: 217 Bytes

Versions: 3

Compression:

Stored size: 217 Bytes

Contents

module RMXObjectExtensions
    
  def rmx_object_desc
    cname = self.className.to_s
    obj_id = '%x' % (self.object_id + 0)
    res = "#<#{cname}:0x#{obj_id}>"
  end

end
Object.send(:include, RMXObjectExtensions)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rmx-0.6.2 lib/motion/RMXObjectExtensions.rb
rmx-0.6.1 lib/motion/RMXObjectExtensions.rb
rmx-0.6.0 lib/motion/RMXObjectExtensions.rb