Class: Giblish::DefaultHtmlGenerator

Inherits:
Object
  • Object
show all
Defined in:
lib/giblish/search/request_manager.rb

Instance Method Summary collapse

Instance Method Details

#response(search_result, css_path = nil) ⇒ Object

search_result

a hash conforming to the output of the TextSearcher::search method.

returns

a string with the html to return to the client



9
10
11
# File 'lib/giblish/search/request_manager.rb', line 9

def response(search_result, css_path = nil)
  adoc_2_html(search_2_adoc(search_result), css_path)
end