Permalink
Browse files

Update lib/rubygoblin/object.rb

  • Loading branch information...
1 parent 2f83299 commit b6f0b16aa559d06fc8d4c873ddcd4ef26405f4fd @codegoblin committed May 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rubygoblin/object.rb
View
@@ -1,9 +1,9 @@
class Object
# This method exists for readability.
- # '5.in?(list_of_numbers)'
+ # '5.in? list_of_numbers'
# is easier for me to understand at first glance than
- # '[1, 2, 3, 4, 5, 6].include?(6)'
+ # 'list_of_numbers.include?(6)'
def in?(enum)
enum.include?(self)
end

0 comments on commit b6f0b16

Please sign in to comment.