Skip to content

Instantly share code, notes, and snippets.

@Sheile
Last active August 29, 2015 14:09
Show Gist options
  • Select an option

  • Save Sheile/a3768b53a0cc021fe70c to your computer and use it in GitHub Desktop.

Select an option

Save Sheile/a3768b53a0cc021fe70c to your computer and use it in GitHub Desktop.
bonjovi.rb
#!/bin/env ruby
WORDS = %w(ボ ン ジョ ヴィ)
buffer = []
buffer << WORDS.sample + WORDS.sample while buffer.last(3).join != 'ジョンボンジョヴィ'
puts buffer.join '・'
puts <<-EOS
#{buffer.size} Bon Jovis
_人人人人人人人人人人人人人人_
> You Give Love a Bad Name <
 ̄Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y ̄
EOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment