class Odd
Public Instance Methods
print(len)
click to toggle source
# File lib/math_series/odd.rb, line 2 def print len (1..len*2).step(2).to_a end
# File lib/math_series/odd.rb, line 2 def print len (1..len*2).step(2).to_a end