Skip to main content
deleted 54 characters in body
Source Link

Ruby - One Haiku

ARGV.first.to_i.
 tap do |please| puts 1.upto(
 please ).inject( :*) end

Read (ignoring punctuation, but including one emoticon) like this:

 arg vee first to i
   tap do please puts one up to
 please inject smile end

Called like this:

ruby haiku 8
# 40320

Ruby - One Haiku

ARGV.first.to_i.
 tap do |please| puts 1.upto(
 please ).inject( :*) end

Read (ignoring punctuation, but including one emoticon) like this:

 arg vee first to i
   tap do please puts one up to
 please inject smile end

Called like this:

ruby haiku 8
# 40320

Ruby - One Haiku

ARGV.first.to_i.
 tap do |please| puts 1.upto(
 please ).inject( :*) end

Read (ignoring punctuation, but including one emoticon) like this:

 arg vee first to i
   tap do please puts one up to
 please inject smile end
added 16 characters in body
Source Link

Ruby - One Haiku

ARGV.first.to_i.
 tap do |v||please| puts 1.upto(
 vplease ).inject( :*) end

Read (ignoring punctuation, but including one emoticon) like this:

 arg vee first to i
   tap do veeplease puts one up to
 veeplease inject smile end

Called like this:

ruby haiku 8
# 40320

Ruby - One Haiku

ARGV.first.to_i.
 tap do |v| puts 1.upto(
 v ).inject( :*) end

Read (ignoring punctuation, but including one emoticon) like this:

 arg vee first to i
   tap do vee puts one up to
 vee inject smile end

Called like this:

ruby haiku 8
# 40320

Ruby - One Haiku

ARGV.first.to_i.
 tap do |please| puts 1.upto(
 please ).inject( :*) end

Read (ignoring punctuation, but including one emoticon) like this:

 arg vee first to i
   tap do please puts one up to
 please inject smile end

Called like this:

ruby haiku 8
# 40320
Source Link

Ruby - One Haiku

ARGV.first.to_i.
 tap do |v| puts 1.upto(
 v ).inject( :*) end

Read (ignoring punctuation, but including one emoticon) like this:

 arg vee first to i
   tap do vee puts one up to
 vee inject smile end

Called like this:

ruby haiku 8
# 40320