class Cequel::Schema::Patch::AbstractChange

Attributes

table[R]

Public Class Methods

new(table, *post_init_args) click to toggle source
# File lib/cequel/schema/patch.rb, line 23
          def initialize(table, *post_init_args)
  @table = table

  post_init(*post_init_args)
end

Public Instance Methods

==(other) click to toggle source
# File lib/cequel/schema/patch.rb, line 39
def ==(other)
  other.class == self.class &&
    other.table == self.table &&
    subclass_eql?(other)
end
eql?(other) click to toggle source
# File lib/cequel/schema/patch.rb, line 45
def eql?(other)
  self == other
end
inspect() click to toggle source
# File lib/cequel/schema/patch.rb, line 35
def inspect
  "#<#{self.class.name} #{to_cql}>"
end
to_cql() click to toggle source
# File lib/cequel/schema/patch.rb, line 31
def to_cql
  fail NotImplementedError
end

Protected Instance Methods

subclass_eql?(other) click to toggle source
# File lib/cequel/schema/patch.rb, line 51
def subclass_eql?(other)
  fail NotImplementedError
end