Method: RubyExcel::Sheet#match
- Defined in:
- lib/rubyexcel/sheet.rb
#match(header) { ... } ⇒ Fixnum?
Find the row number by looking up a value in a Column
382 383 384 |
# File 'lib/rubyexcel/sheet.rb', line 382 def match( header, &block ) row_id( column_by_header( header ).find( &block ) ) rescue nil end |