Class: Pcrd::Config::ColumnSpec
- Inherits:
-
Data
- Object
- Data
- Pcrd::Config::ColumnSpec
- Defined in:
- lib/pcrd/config/column_spec.rb
Overview
Spec for an existing column. All fields are optional: nil type means keep the current type; nil rename means keep the name; drop: false means keep the column.
Instance Attribute Summary collapse
-
#drop ⇒ Object
readonly
Returns the value of attribute drop.
-
#rename ⇒ Object
readonly
Returns the value of attribute rename.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Attribute Details
#drop ⇒ Object (readonly)
Returns the value of attribute drop
8 9 10 |
# File 'lib/pcrd/config/column_spec.rb', line 8 def drop @drop end |
#rename ⇒ Object (readonly)
Returns the value of attribute rename
8 9 10 |
# File 'lib/pcrd/config/column_spec.rb', line 8 def rename @rename end |
#type ⇒ Object (readonly)
Returns the value of attribute type
8 9 10 |
# File 'lib/pcrd/config/column_spec.rb', line 8 def type @type end |