module Rmega::NotInspectable
Public Instance Methods
inspect(attributes = {})
click to toggle source
# File lib/rmega/not_inspectable.rb, line 3 def inspect(attributes = {}) memaddr = (__send__(:object_id) << 1).to_s(16) string = "#<#{self.class.name}:#{memaddr}" attributes.each { |k, v| string << " #{k}=#{v}" } string << ">" end