Module: Titleist::Helper

Extended by:
T::Sig
Defined in:
lib/titleist/helper.rb

Overview

Helper methods in ActionView for rendering the title.

Instance Method Summary collapse

Instance Method Details

#title_tagString

Render the full title as a ‘<title>` tag.

Returns:

  • (String)


11
12
13
# File 'lib/titleist/helper.rb', line 11

def title_tag
   :title, title_text.to_s
end