closest_fibonacci 1.0.0

This gem finds the largest integer value from the Fibonacci Sequence smaller than a given integer.

Instructions

gem install closest_fibonacci

you can test it on irb

require ‘closest_fibonacci’

38.closest_fibonacci

where you can set 38 to be any other integer

enjoy!

Copyright © 2012 Boris Polania. See LICENSE.txt for further details.