app/helpers/application_helper.rb
# Returns the full title on a per-page basis.       
Returns the full title on a per-page basis.
Returns the full title on a per - page basis .
def full_title(page_title = '')                     
    base_title = "Ruby on Rails Tutorial Sample App"  
    if page_title.empty?                              
      base_title                                      
    else
      page_title + " | " + base_title                 
    end
  end
def full_title ( page_title = '' ) base_title = "Ruby on Rails Tutorial Sample App" if page_title . empty? base_title else page_title + " | " + base_title end end
Returns the full title on a per-page basis.
Returns the full title on a per - page basis .
# Method def, optional arg # Variable assignment # Boolean test # Implicit return # String concatenation
page_title
<not_specific>