Module: Adaptor::ClassMethods

Defined in:
lib/adaptor.rb

Instance Method Summary collapse

Instance Method Details

#supports?(_object) ⇒ Boolean

Returns whether this adaptor supports the given object.

Parameters:

  • _object (Object)

    the object to test

Returns:

  • (Boolean)

    whether the adaptor supports the object



28
29
30
# File 'lib/adaptor.rb', line 28

def supports?(_object)
  fail NotImplementedError
end