Method: CouchTap::Schema#initialize
- Defined in:
- lib/couch_tap/schema.rb
#initialize(database, name) ⇒ Schema
Returns a new instance of Schema.
9 10 11 12 13 14 15 |
# File 'lib/couch_tap/schema.rb', line 9 def initialize(database, name) self.name = name.to_sym self.database = database self.columns = {} self.column_names = [] parse_schema end |