Sha256: 9f72e02fbcb9b139f2586a195bd58f917783c4574bc772b721aca503149aaf6e

Contents?: true

Size: 515 Bytes

Versions: 23

Compression:

Stored size: 515 Bytes

Contents

module RecordFilter
  module DSL
    class ClassJoin # :nodoc: all
      attr_reader :join_class, :join_type, :table_alias, :conjunction

      def initialize(join_class, join_type, table_alias, conjunction, join_conditions)
        @join_class, @join_type, @table_alias, @conjunction, @join_conditions = 
          join_class, join_type, table_alias, conjunction, join_conditions
      end

      def conditions
        @join_conditions ? @join_conditions.map { |c| c.condition } : nil
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
aub-record_filter-0.8.0 lib/record_filter/dsl/class_join.rb
aub-record_filter-0.9.0 lib/record_filter/dsl/class_join.rb
aub-record_filter-0.9.1 lib/record_filter/dsl/class_join.rb
aub-record_filter-0.9.10 lib/record_filter/dsl/class_join.rb
aub-record_filter-0.9.11 lib/record_filter/dsl/class_join.rb
aub-record_filter-0.9.12 lib/record_filter/dsl/class_join.rb
aub-record_filter-0.9.2 lib/record_filter/dsl/class_join.rb
aub-record_filter-0.9.3 lib/record_filter/dsl/class_join.rb
aub-record_filter-0.9.4 lib/record_filter/dsl/class_join.rb
aub-record_filter-0.9.5 lib/record_filter/dsl/class_join.rb
aub-record_filter-0.9.6 lib/record_filter/dsl/class_join.rb
aub-record_filter-0.9.7 lib/record_filter/dsl/class_join.rb
aub-record_filter-0.9.8 lib/record_filter/dsl/class_join.rb
aub-record_filter-0.9.9 lib/record_filter/dsl/class_join.rb
outoftime-record_filter-0.8.0 lib/record_filter/dsl/class_join.rb
record_filter-1.0.1 lib/record_filter/dsl/class_join.rb
record_filter-1.0.0 lib/record_filter/dsl/class_join.rb
record_filter-0.9.17 lib/record_filter/dsl/class_join.rb
record_filter-0.9.16 lib/record_filter/dsl/class_join.rb
record_filter-0.9.15 lib/record_filter/dsl/class_join.rb