fortune_gem is a port of the unix “fortune” program, written in Ruby.
0.0.7 just fixes a horrible syntax error in (yanked) 0.0.6.
*Use in Code:
require ‘fortune_gem’
FortuneGem.give_fortune
FortuneGem.give_fortune({:max_length => 100})
Use From The Command Line:
*
*
$ fortune_gem
Q: How many Marxists does it take to screw in a light bulb?
A: None: The light bulb contains the seeds of its own revolution.
$ fortune_gem 40
Youre at the end of the road again.
Github: https://github.com/nodanaonlyzuul/fortune_gem
Rubygems: https://rubygems.org/gems/fortune_gem/versions/0.0.7