Skip to content

Instantly share code, notes, and snippets.

@ybenjo
Created September 4, 2010 18:11
Show Gist options
  • Save ybenjo/565371 to your computer and use it in GitHub Desktop.
Save ybenjo/565371 to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
$KCODE='u'
t_a = "釣りゲームはGree".split(//)
s = t_a.size
c = ""
ARGV[0].to_i.times do |i|
c += t_a[0..rand(s).to_i].join("")
end
c += "、無料です"
puts c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment