Method: XlsFunction::FormatString.evaluate_converter

Defined in:
lib/xls_function/format_string.rb

.evaluate_converter(format_string, context) ⇒ Object



17
18
19
20
21
# File 'lib/xls_function/format_string.rb', line 17

def evaluate_converter(format_string, context)
  parser = XlsFunction::FormatString::Parser.new
  transform = XlsFunction::FormatString::Transform.new
  transform.apply(parser.parse(format_string), context)
end