Kelly wrote:
puts (0…ARGV.first.to_i).inject([[1]]) { |a,x|
puts (0…(ARGV.first||“6”).to_i).inject([[1]]) { |a,x|
just a minor pick for easy cutnpaste then run. defualt of 6 rows.
cool hack, btw.
kind regards -botp
Kelly wrote:
puts (0…(ARGV.first||“6”).to_i).inject([[1]]) { |a,x|
just a minor pick for easy cutnpaste then run. defualt of 6 rows.
cool hack, btw.
kind regards -botp
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs