Skip to content

Instantly share code, notes, and snippets.

@aereal
Created Jun 12, 2010
Embed
What would you like to do?
TaniRyoko = "谷良子"
def new(syntanix, shout=nil)
if shout
puts "#{shout}! 新#{syntanix}, #{shout}!!!"
else
puts "New #{syntanix} って…100万回も言われてます。もうあきましたっ!!ばーかばーか。"
end
end
new TaniRyoko, "もげええええええ" # => "もげええええええ! 新谷良子, もげええええええ!!!"
new TaniRyoko # => "New 谷良子 って…100万回も言われてます。もうあきましたっ!!ばーかばーか。"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment