Method: Cequel::Schema::TableWriter#initialize

Defined in:
lib/cequel/schema/table_writer.rb

#initialize(keyspace, table) ⇒ TableWriter

Returns a new instance of TableWriter.

Parameters:

  • keyspace in which to create the table

  • object representation of table schema

Since:

  • 1.0.0



24
25
26
# File 'lib/cequel/schema/table_writer.rb', line 24

def initialize(keyspace, table)
  @keyspace, @table = keyspace, table
end