Module: SequencescapeExcel::SpecialisedField::ValueToInteger
- Included in:
- InsertSizeFrom, InsertSizeTo, Priority, Tag2Index, TagIndex
- Defined in:
- app/sequencescape_excel/sequencescape_excel/specialised_field/value_to_integer.rb
Overview
ValueToInteger
Instance Method Summary collapse
Instance Method Details
#value=(value) ⇒ Object
8 9 10 |
# File 'app/sequencescape_excel/sequencescape_excel/specialised_field/value_to_integer.rb', line 8 def value=(value) @value = value.to_i if value.present? end |