Sha256: 7bdd01477af647d8e6dec7fdbab41354799ff80e12ecc3d5dba59da878aefa8e

Contents?: true

Size: 211 Bytes

Versions: 2

Compression:

Stored size: 211 Bytes

Contents

module RedshiftExtractor; class Drop

  attr_reader :table_name

  def initialize(args)
    @table_name = args.fetch(:table_name)
  end

  def drop_sql
    "drop table if exists #{table_name};"
  end

end; end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redshift_extractor-0.2.0 lib/redshift_extractor/drop.rb
redshift_extractor-0.1.0 lib/redshift_extractor/drop.rb