kernel/common/array.rb
# Returns true if the given obj is present in the Array.
# Presence is determined by calling elem == obj until found.
Returns true if the given obj is present in the Array.
Presence is determined by calling elem == obj until found.
Returns true if the given obj is present in the Array . Presence is determined by calling elem == obj until found .
def include?(obj)
    i = 0
    while i < @total do
      return true if at(i) == obj
      i += 1
    end
    false
  end
def include? ( obj ) i = 0 while i < @total do return true if at ( i ) == obj i += 1 end false end
Returns true if the given obj is present in the Array.
Returns true if the given obj is present in the Array .
obj
<not_specific>