Permalink
Browse files

Added comments to fortune method

  • Loading branch information...
1 parent 0a4c3a3 commit 678f4b26bd9b5d9b63ff16a78b937e01a9ff37f9 @hemanth committed Nov 6, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 rgbot.rb
View
@@ -128,6 +128,7 @@ def roll(msg)
end
def fortune(msg)
+ # Return a result of fortune sys command
IO.popen("fortune") { |cmd| self.deliver(@msg,cmd.gets) }
end

0 comments on commit 678f4b2

Please sign in to comment.