public
Created

PrintsOfWhales

  • Download Gist
PrintsOfWhales.rb
Ruby
1 2 3 4 5 6 7 8 9 10
def random_home_page_blurb (blurbs)
 
selected_blurb = blurbs.sample
 
output = "<span class='heading letterspaced txtshadow-light'>#{selected_blurb[:setup]}</span><br /><br />"
output << "<span class='subheading letterspaced txtshadow-light'>#{selected_blurb[:punchline]}<span>"
 
span.html_safe
 
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.