Class: Monolens::Type::Emptyable

Inherits:
Object
  • Object
show all
Defined in:
lib/monolens/type/emptyable.rb

Class Method Summary collapse

Class Method Details

.===(instance) ⇒ Object



4
5
6
# File 'lib/monolens/type/emptyable.rb', line 4

def self.===(instance)
  instance.respond_to?(:empty)
end