Sha256: 87630c9614384857e1ec5bbd28c32cd5ab24e7a69cae01bb42c56dcba893de46
Contents?: true
Size: 501 Bytes
Versions: 6
Compression:
Stored size: 501 Bytes
Contents
module RecordFilter module DSL class ClassJoin 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
6 entries across 6 versions & 2 rubygems