Method: Sequel::Postgres::PGMultiRange::Creator#call
- Defined in:
- lib/sequel/extensions/pg_multirange.rb
#call(string) ⇒ Object
Parse the string using Parser with the appropriate converter, and return a PGMultiRange with the appropriate database type.
106 107 108 |
# File 'lib/sequel/extensions/pg_multirange.rb', line 106 def call(string) PGMultiRange.new(Parser.new(string, @converter).parse, @type) end |