Method: Sequel::SQL::StringAgg#initialize
- Defined in:
- lib/sequel/extensions/string_agg.rb
#initialize(expr, separator = nil) {|_self| ... } ⇒ StringAgg
Set the expression and separator
161 162 163 164 165 166 |
# File 'lib/sequel/extensions/string_agg.rb', line 161 def initialize(expr, separator=nil) @expr = expr @separator = separator yield self if defined?(yield) freeze end |