class Phash::Data

Attributes

data[R]
length[R]

Public Class Methods

new(data, length = nil) click to toggle source
# File lib/phash.rb, line 6
def initialize(data, length = nil)
  @data = data
  @length = length if length
end

Public Instance Methods

inspect() click to toggle source
# File lib/phash.rb, line 11
def inspect
  "#<#{self.class.name} #{to_s}>"
end