Class: ColdStorage::SchemaMirror::Change
- Inherits:
-
Struct
- Object
- Struct
- ColdStorage::SchemaMirror::Change
- Defined in:
- lib/cold_storage/schema_mirror.rb
Overview
A single difference between the two schemas.
Instance Attribute Summary collapse
-
#detail ⇒ Object
Returns the value of attribute detail.
-
#name ⇒ Object
Returns the value of attribute name.
-
#table ⇒ Object
Returns the value of attribute table.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#detail ⇒ Object
Returns the value of attribute detail
21 22 23 |
# File 'lib/cold_storage/schema_mirror.rb', line 21 def detail @detail end |
#name ⇒ Object
Returns the value of attribute name
21 22 23 |
# File 'lib/cold_storage/schema_mirror.rb', line 21 def name @name end |
#table ⇒ Object
Returns the value of attribute table
21 22 23 |
# File 'lib/cold_storage/schema_mirror.rb', line 21 def table @table end |
#type ⇒ Object
Returns the value of attribute type
21 22 23 |
# File 'lib/cold_storage/schema_mirror.rb', line 21 def type @type end |
Instance Method Details
#to_s ⇒ Object
22 23 24 |
# File 'lib/cold_storage/schema_mirror.rb', line 22 def to_s [type, table, name, detail].compact.join(' ') end |