Class: Cequel::Schema::Patch::AbstractChange
- Inherits:
-
Object
- Object
- Cequel::Schema::Patch::AbstractChange
show all
- Defined in:
- lib/cequel/schema/patch.rb
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#table ⇒ Object
30
31
32
|
# File 'lib/cequel/schema/patch.rb', line 30
def table
@table
end
|
Instance Method Details
#==(other) ⇒ Object
40
41
42
43
44
|
# File 'lib/cequel/schema/patch.rb', line 40
def ==(other)
other.class == self.class &&
other.table == self.table &&
subclass_eql?(other)
end
|
#eql?(other) ⇒ Boolean
46
47
48
|
# File 'lib/cequel/schema/patch.rb', line 46
def eql?(other)
self == other
end
|
#inspect ⇒ Object
36
37
38
|
# File 'lib/cequel/schema/patch.rb', line 36
def inspect
"#<#{self.class.name} #{to_cql}>"
end
|
#to_cql ⇒ Object
32
33
34
|
# File 'lib/cequel/schema/patch.rb', line 32
def to_cql
fail NotImplementedError
end
|