Class: SequencescapeExcel::NullValidation
- Inherits:
-
Object
- Object
- SequencescapeExcel::NullValidation
- Defined in:
- app/sequencescape_excel/sequencescape_excel/null_validation.rb
Overview
NullValidation
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#empty? ⇒ Boolean
A null validation is always empty.
-
#options ⇒ Object
Always returns an empty hash.
-
#range_name ⇒ Object
Always returns :null range.
-
#update(attributes = {}) ⇒ Object
Does nothing.
Instance Method Details
#==(other) ⇒ Object
30 31 32 |
# File 'app/sequencescape_excel/sequencescape_excel/null_validation.rb', line 30 def ==(other) other.is_a?(self.class) end |
#empty? ⇒ Boolean
A null validation is always empty.
20 21 22 |
# File 'app/sequencescape_excel/sequencescape_excel/null_validation.rb', line 20 def empty? true end |
#options ⇒ Object
Always returns an empty hash.
26 27 28 |
# File 'app/sequencescape_excel/sequencescape_excel/null_validation.rb', line 26 def {} end |
#range_name ⇒ Object
Always returns :null range
9 10 11 |
# File 'app/sequencescape_excel/sequencescape_excel/null_validation.rb', line 9 def range_name :null_range end |
#update(attributes = {}) ⇒ Object
Does nothing
15 16 |
# File 'app/sequencescape_excel/sequencescape_excel/null_validation.rb', line 15 def update(attributes = {}) end |