# frozen_string_literal: true module AsanaExceptionNotifier # helper methods that use Heredoc syntax module HeredocHelper module_function def link_helper(link) <<-HTML #{link.camelize} HTML end # Gets a bidimensional array and create a table. # The first array is used as label. # def mount_table(array, options = {}) header = array.extract_options! <<-HTML #{get_table_rows(array)}
#{get_table_headers(header)}
HTML end end end