Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update lib/rubygoblin/object.rb

  • Loading branch information...
commit b6f0b16aa559d06fc8d4c873ddcd4ef26405f4fd 1 parent 2f83299
@codegoblin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rubygoblin/object.rb
View
4 lib/rubygoblin/object.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.