Method: Sequel::Postgres::PGMultiRange#initialize
- Defined in:
- lib/sequel/extensions/pg_multirange.rb
#initialize(ranges, db_type) ⇒ PGMultiRange
Set the array of ranges to delegate to, and the database type.
266 267 268 269 |
# File 'lib/sequel/extensions/pg_multirange.rb', line 266 def initialize(ranges, db_type) super(ranges) @db_type = db_type.to_s end |