Method: Hanami::Utils::LoadPaths#==

Defined in:
lib/hanami/utils/load_paths.rb

#==(other) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 0.6.0


144
145
146
147
148
149
150
151
# File 'lib/hanami/utils/load_paths.rb', line 144

def ==(other)
  case other
  when self.class
    other.paths == paths
  else
    other == paths
  end
end