Sha256: 9672affdc2fb2986683a8b4baab2b7aa0820a199b68dc90215a764c47cac1d1e

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

# encoding: utf-8

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

Version data entries

1 entries across 1 versions & 1 rubygems

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