Class: ActiveRecord::Relation::Union::UnionFromClause

Inherits:
FromClause
  • Object
show all
Defined in:
lib/c80_active_record_union/active_record/relation/union.rb

Instance Method Summary collapse

Constructor Details

#initialize(value, name, bound_attributes) ⇒ UnionFromClause

Returns a new instance of UnionFromClause.



70
71
72
73
# File 'lib/c80_active_record_union/active_record/relation/union.rb', line 70

def initialize(value, name, bound_attributes)
  super(value, name)
  @bound_attributes = bound_attributes
end

Instance Method Details

#bindsObject



75
76
77
# File 'lib/c80_active_record_union/active_record/relation/union.rb', line 75

def binds
  @bound_attributes
end