Sha256: 3e987e7bd4b088d44abc69942582b31c3fdcd0b749a495af92f6ec411a8de673

Contents?: true

Size: 523 Bytes

Versions: 6

Compression:

Stored size: 523 Bytes

Contents

#--
# Copyright (c) 2008 Jeremy Hinegardner
# All rights reserved.  See LICENSE and/or COPYING for details.
#++

module Amalgalite
  #
  # a class representing the meta information about an SQLite index
  #
  class Index
    # the name of the index
    attr_reader   :name

    # the sql statement that created the index
    attr_reader   :sql

    # the table the index is for
    attr_accessor :table

    def initialize( name, sql, table ) 
      @name  = name
      @sql   = sql
      @table = table
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
amalgalite-0.2.0 lib/amalgalite/index.rb
amalgalite-0.1.0 lib/amalgalite/index.rb
amalgalite-0.2.3 lib/amalgalite/index.rb
amalgalite-0.2.1 lib/amalgalite/index.rb
amalgalite-0.2.2 lib/amalgalite/index.rb
amalgalite-0.2.4 lib/amalgalite/index.rb