module Torque::PostgreSQL::Attributes::Period

For naw, period doesn't have it's own class

Public Class Methods

include_on(klass, method_name = nil) click to toggle source

Provide a method on the given class to setup which period columns will be manually initialized

# File lib/torque/postgresql/attributes/period.rb, line 11
def include_on(klass, method_name = nil)
  method_name ||= Torque::PostgreSQL.config.period.base_method
  Builder.include_on(klass, method_name, Builder::Period)
end