Module: Bio::BioAlignment::DeleteState
- Included in:
- ColumnState, RowState
- Defined in:
- lib/bio-alignment/state.rb
Instance Attribute Summary collapse
-
#deleted ⇒ Object
Returns the value of attribute deleted.
Instance Method Summary collapse
Instance Attribute Details
#deleted ⇒ Object
Returns the value of attribute deleted.
10 11 12 |
# File 'lib/bio-alignment/state.rb', line 10 def deleted @deleted end |
Instance Method Details
#delete! ⇒ Object
12 13 14 |
# File 'lib/bio-alignment/state.rb', line 12 def delete! @deleted = true end |
#deleted? ⇒ Boolean
16 17 18 |
# File 'lib/bio-alignment/state.rb', line 16 def deleted? @deleted == true end |
#to_s ⇒ Object
20 21 22 |
# File 'lib/bio-alignment/state.rb', line 20 def to_s (deleted? ? 'X' : '.') end |