Sha256: 8f30773b0398aa63688d39c2af8b8cfd9426abfbd144517d6b717beee2aa2766

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

module CsvRowModel
  module Inspect
    def inspect
      s = self.class::INSPECT_METHODS.map { |method| "#{method}=#{public_send(method).inspect}" }.join(", ")
      address = ('%x' % (object_id << 1)).rjust(14, "0")
      "#<#{self.class.name}:0x#{address} #{s}>"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
csv_row_model-1.0.0.beta2 lib/csv_row_model/concerns/inspect.rb