Sha256: 937d738fe63f47d6064442293d912bdc3d8269e85c94ba354ff33303a95a426e

Contents?: true

Size: 304 Bytes

Versions: 18

Compression:

Stored size: 304 Bytes

Contents

class Baza::Index
  include Baza::DatabaseModelFunctionality

  def to_s
    "#<#{self.class.name} name: \"#{name}\" unique=\"#{unique?}\" columns: #{@columns}>"
  end

  def data
    {
      name: name,
      columns: columns
    }
  end

  def inspect
    to_s
  end

  def to_param
    name
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
baza-0.0.38 lib/baza/index.rb
baza-0.0.37 lib/baza/index.rb
baza-0.0.36 lib/baza/index.rb
baza-0.0.35 lib/baza/index.rb
baza-0.0.34 lib/baza/index.rb
baza-0.0.33 lib/baza/index.rb
baza-0.0.32 lib/baza/index.rb
baza-0.0.31 lib/baza/index.rb
baza-0.0.30 lib/baza/index.rb
baza-0.0.29 lib/baza/index.rb
baza-0.0.28 lib/baza/index.rb
baza-0.0.27 lib/baza/index.rb
baza-0.0.26 lib/baza/index.rb
baza-0.0.25 lib/baza/index.rb
baza-0.0.24 lib/baza/index.rb
baza-0.0.23 lib/baza/index.rb
baza-0.0.22 lib/baza/index.rb
baza-0.0.21 lib/baza/index.rb