Class: Scribo::ArrayDrop

Inherits:
ApplicationDrop show all
Defined in:
app/drops/scribo/array_drop.rb

Instance Method Summary collapse

Methods inherited from ApplicationDrop

#initialize

Constructor Details

This class inherits a constructor from Scribo::ApplicationDrop

Instance Method Details

#==(other) ⇒ Object



9
10
11
# File 'app/drops/scribo/array_drop.rb', line 9

def ==(other)
  @object.include?(other) || @object == other
end