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 |
---|---|
record_filter-0.9.14 | lib/record_filter/dsl/class_join.rb |
record_filter-0.9.13 | lib/record_filter/dsl/class_join.rb |
record_filter-0.9.12 | lib/record_filter/dsl/class_join.rb |