Sha256: a46efb6d5a391f2581617474deac296beed1616e31fdf4556fef98e15877690c

Contents?: true

Size: 160 Bytes

Versions: 3

Compression:

Stored size: 160 Bytes

Contents

# encoding: utf-8

class Object
  # Constructs the string "#{self.class}:#{self}". Useful for inspection.
  # 
  def insp
    "#{self}:#{self.class}"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
y_support-2.1.5 lib/y_support/core_ext/object/inspection.rb
y_support-2.1.4 lib/y_support/core_ext/object/inspection.rb
y_support-2.1.3 lib/y_support/core_ext/object/inspection.rb