Sha256: ec5d7e9a2343d6861b62798ceaadd372828b787f202c9d840144547672a500eb

Contents?: true

Size: 120 Bytes

Versions: 8

Compression:

Stored size: 120 Bytes

Contents

class Object
  
  def in?(enum)
    return false unless enum.respond_to?(:include?)
    enum.include?(self)
  end
  
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
iron-extensions-1.1.5 lib/iron/extensions/object.rb
iron-extensions-1.1.4 lib/iron/extensions/object.rb
iron-extensions-1.1.3 lib/iron/extensions/object.rb
iron-extensions-1.1.2 lib/iron/extensions/object.rb
iron-extensions-1.1.1 lib/iron/extensions/object.rb
iron-extensions-1.1.0 lib/iron/extensions/object.rb
iron-extensions-1.0.1 lib/iron/extensions/object.rb
iron-extensions-1.0.0 lib/iron/extensions/object.rb