class Ceres::Object
Public Instance Methods
inspect()
click to toggle source
# File lib/ceres/object.rb, line 7 def inspect attributes = self.class.attributes.map do |attribute| if attribute.inspector name = attribute.name " #{name}: #{attribute.inspector.inspect_object(self.send(name))}" end end.compact.join(",") sprintf("#<%p:%0#18x%s>", self.class, self.object_id << 1, attributes) end