Method: RubyXL::Reference#cover?
- Defined in:
- lib/rubyXL/objects/reference.rb
permalink #cover?(other) ⇒ Boolean
63 64 65 66 67 68 |
# File 'lib/rubyXL/objects/reference.rb', line 63 def cover?(other) !other.nil? && (@row_range.cover?(other.row_range.begin) && @row_range.cover?(other.row_range.end) && @col_range.cover?(other.col_range.begin) && @col_range.cover?(other.col_range.end)) end |