Sha256: ffc904a2070b2715d3481c741f2ada0c34aa3acdbcccd414848d5e6bd77a0bd9

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

# encoding: utf-8

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
piglet-0.3.0 lib/piglet/relation/sample.rb