Sha256: 7d0a3fb21555f17e62247f7a412cadc4d62ac14d5103bf7e3272f73d83a8bc3b

Contents?: true

Size: 220 Bytes

Versions: 2

Compression:

Stored size: 220 Bytes

Contents

module Piglet
  class Sample # :nodoc:
    include Relation
    
    def initialize(relation, n)
      @sources, @n = [relation], n
    end
    
    def to_s
      "SAMPLE #{@sources.first.alias} #{@n}"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
piglet-0.1.1 lib/piglet/sample.rb
piglet-0.1.0 lib/piglet/sample.rb