Sha256: 5ea864accc9cb5f8171e65068b8b88c0c2eb6176508779c386ab61a2b07aded2
Contents?: true
Size: 335 Bytes
Versions: 4
Compression:
Stored size: 335 Bytes
Contents
# frozen_string_literal: true module Duckface module ImplementationMethods def check_it_implements(interface_class) Duckface::Services::CheckClassImplementsInterface.new(self, interface_class).perform end def says_it_implements?(interface_class) included_modules.include?(interface_class) end end end
Version data entries
4 entries across 4 versions & 1 rubygems