Class: RDO::Postgres::Array::Date

Inherits:
RDO::Postgres::Array show all
Defined in:
lib/rdo/postgres/array/date.rb

Overview

Ruby handling for date[] type in PostgreSQL.

Instance Method Summary collapse

Methods inherited from RDO::Postgres::Array

[], #format_value, #initialize, parse, #to_a, #to_s

Constructor Details

This class inherits a constructor from RDO::Postgres::Array

Instance Method Details

#parse_value(s) ⇒ Object



12
13
14
# File 'lib/rdo/postgres/array/date.rb', line 12

def parse_value(s)
  RDO::Util.date(s)
end