Module: LegislationUK::TitleHelper

Included in:
ContentsItem, ContentsPart, ContentsPblock
Defined in:
lib/legislation_uk.rb

Instance Method Summary collapse

Instance Method Details

#titleObject



8
9
10
# File 'lib/legislation_uk.rb', line 8

def title
  contents_title.is_a?(String) ? contents_title.strip : contents_title.title.strip
end