Class: Monolens::Type::Emptyable
- Inherits:
-
Object
- Object
- Monolens::Type::Emptyable
- 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 |