Sha256: bbe3551ca073325b4418b00b3d4879e93919b6f6b9433722542a0503cf66b2af

Contents?: true

Size: 433 Bytes

Versions: 3

Compression:

Stored size: 433 Bytes

Contents

require "partitioner_pg/version"
require "partitioner_pg/separation_type/month"

module PartitionerPg
  extend ActiveSupport::Concern

  #available types - :month
  def initialize(type)
    @type = type
  end

  module ClassMethods
    include SeparationType::Month

    def partitioner_pg(type)
      new(type.to_sym)
      puts TEST0
    end

    private

    def execute_sql(sql)
      connection.execute(sql)
    end

  end

end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
pg_partitioner-0.1.0 lib/partitioner_pg.rb
partitioner_pg-0.2.0 lib/partitioner_pg.rb
partitioner_pg-0.1.0 lib/partitioner_pg.rb