lib/sungemm.rb in sungemm-0.0.1 vs lib/sungemm.rb in sungemm-0.0.2

- old
+ new

@@ -1,7 +1,10 @@ require "sungemm/version" module Sungemm + # Finds the n-th fibonachi number. + # @param n [Fixnum] element number in the fibonachi sequence. + # @return [Fixnum] N-th fibo number. def self.fibo_finder(n) if (0..1).include?(n) n else fibo_finder(n-2)+fibo_finder(n-1)