Sha256: c7c7927292db0daa51b54976cefae3822a2793aca1dc3dbf97fb1ca2bf1da5c7

Contents?: true

Size: 198 Bytes

Versions: 9

Compression:

Stored size: 198 Bytes

Contents

module TitleHelper
  
  def set_heading(heading)
    @heading = heading
  end
  
  def set_title(title)
    @title = title
  end
  
  def title
    @title || "<%= application_name -%>"
  end
  
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
humdrum-rails-0.1.3 lib/rails/generators/humdrum/layout/templates/helpers/title_helper.rb
humdrum-rails-0.1.2 lib/rails/generators/humdrum/layout/templates/helpers/title_helper.rb
humdrum-rails-0.1.1 lib/rails/generators/humdrum/layout/templates/helpers/title_helper.rb
humdrum-rails-0.0.9 lib/rails/generators/humdrum/layout/templates/helpers/title_helper.rb
humdrum-rails-0.0.8 lib/rails/generators/humdrum/layout/templates/helpers/title_helper.rb
humdrum-rails-0.0.7 lib/rails/generators/humdrum/layout/templates/helpers/title_helper.rb
humdrum-rails-0.0.6 lib/rails/generators/humdrum/layout/templates/helpers/title_helper.rb
humdrum-rails-0.0.4 lib/rails/generators/humdrum/layout/templates/helpers/title_helper.rb
humdrum-rails-0.0.3 lib/rails/generators/humdrum/layout/templates/helpers/title_helper.rb