Method: XlsFunction::Evaluators::Functions::Find#eval
- Defined in:
- lib/xls_function/evaluators/functions/find.rb
#eval ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/xls_function/evaluators/functions/find.rb', line 11 def eval index = within_text.index(find_text, start - 1) if index index + 1 else ::XlsFunction::ErrorValue.value!(missing_target) end end |