Module: Card::Set::Self::Search::HtmlFormat

Extended by:
AbstractFormat
Defined in:
card/tmpsets/set/mod035-card-mod-search/self/search.rb,
card/tmpsets/set/mod036-card-mod-search/self/search.rb

Instance Method Summary collapse

Instance Method Details

#keyword_search_titleObject



47
48
49
50
# File 'card/tmpsets/set/mod035-card-mod-search/self/search.rb', line 47

def keyword_search_title
  search_keyword &&
    %(Search results for: <span class="search-keyword">#{h search_keyword}</span>)
end

#view: titleObject



42
43
44
45
# File 'card/tmpsets/set/mod035-card-mod-search/self/search.rb', line 42

view :title, cache: :never do
  return super() unless (title = keyword_search_title)
  voo.title = title
end