Sha256: b87cbc05d39d715f10a0ca5c812a039a26654a97dd72ef7f87056d3b57abdf21

Contents?: true

Size: 317 Bytes

Versions: 6

Compression:

Stored size: 317 Bytes

Contents

module RecordFilter
  module DSL
    class JoinDSL < ConjunctionDSL

      attr_reader :conditions

      def on(column, value=Restriction::DEFAULT_VALUE)
        @conditions ||= []
        @conditions << (condition = JoinCondition.new(column, value))
        return condition.restriction
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
aub-record_filter-0.1.4 lib/record_filter/dsl/join_dsl.rb
aub-record_filter-0.2.0 lib/record_filter/dsl/join_dsl.rb
aub-record_filter-0.6.0 lib/record_filter/dsl/join_dsl.rb
outoftime-record_filter-0.1.4 lib/record_filter/dsl/join_dsl.rb
outoftime-record_filter-0.2.0 lib/record_filter/dsl/join_dsl.rb
outoftime-record_filter-0.6.0 lib/record_filter/dsl/join_dsl.rb