Method: YARD::Templates::Helpers::TextHelper#title_align_right

Defined in:
lib/yard/templates/helpers/text_helper.rb

#title_align_right(text, col = 72) ⇒ String

Returns aligns a title to the right.

Returns:

  • (String)

    aligns a title to the right


32
33
34
# File 'lib/yard/templates/helpers/text_helper.rb', line 32

def title_align_right(text, col = 72)
  align_right(text, '-', col)
end