Module: SankyFabb

Defined in:
lib/sanky_fabb.rb,
lib/sanky_fabb/version.rb

Constant Summary collapse

VERSION =
"0.0.2"

Instance Method Summary collapse

Instance Method Details

#fabi_seriesObject



4
5
6
7
8
9
10
# File 'lib/sanky_fabb.rb', line 4

def fabi_series
i1,i2=1,1
while i1 <= self
yield i1
i1,i2=i2,i1+i2
end
end