Class: Object

Inherits:
BasicObject
Defined in:
lib/resourceful/util.rb

Instance Method Summary collapse

Instance Method Details

#in?(arr) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/resourceful/util.rb', line 3

def in?(arr)
  arr.include?(self)
end