Sha256: 1232eae38e3b2af223502a0bdb0222f74fce50962a808b22a8296bbc8bf1cd0a

Contents?: true

Size: 346 Bytes

Versions: 1

Compression:

Stored size: 346 Bytes

Contents

module DataSampler
  class Dependency

    attr_reader :table_name
    attr_reader :keys

    def initialize(table_name, keys)
      @table_name = table_name
      @keys = keys
    end

    def eql? other
      table_name == other.table_name and keys == other.keys
    end

    def to_s
      "#{keys} in table `#{table_name}`"
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
data_sampler-0.0.4 lib/data_sampler/dependency.rb