Class: SequencescapeExcel::NullRange

Inherits:
Object
  • Object
show all
Defined in:
app/sequencescape_excel/sequencescape_excel/null_range.rb

Overview

NullRange

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object


19
20
21
# File 'app/sequencescape_excel/sequencescape_excel/null_range.rb', line 19

def ==(other)
  other.is_a?(self.class)
end

#absolute_referenceObject

Always returns Ranges!A1:A10


15
16
17
# File 'app/sequencescape_excel/sequencescape_excel/null_range.rb', line 15

def absolute_reference
  "Ranges!#{reference}"
end

#referenceObject

Always returns A1:A10.


9
10
11
# File 'app/sequencescape_excel/sequencescape_excel/null_range.rb', line 9

def reference
  'A1:A10'
end