Skip to content

Instantly share code, notes, and snippets.

@lkuper lkuper/gist:5493722
Last active Dec 16, 2015

What would you like to do?
post_content =
post_content[0] = "<p>Hi! I'm a friendly, \
albeit janky, Ruby script, and this is one of several automated \
messages that I'm capable of producing to let you know that there's a \
<a href=\"" + url + "\">new post on</a>.</p>"
post_content[1] = "<p>There's a <a href=\"" + url + "\">new post on \</a>!</p>"
post_content[2] = "<p>O frabjous day! There's a <a href=\"" + url +
"\">new post on</a>.</p>"
event << "#{post_content[rand(3)]}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.