Module: Kind::Module

Extended by:
Module, Object
Included in:
Module
Defined in:
lib/kind/objects/modules/core/module.rb

Instance Method Summary collapse

Methods included from Object

inspect, name

Methods included from UnionType::Buildable

#|

Methods included from Kind::Maybe::Buildable

#maybe

Methods included from BasicObject

#[], #or, #or_nil, #or_null, #or_undefined, #value, #value?

Instance Method Details

#===(value) ⇒ Object



9
10
11
# File 'lib/kind/objects/modules/core/module.rb', line 9

def ===(value)
  Kind.of_module?(value)
end

#kindObject



7
# File 'lib/kind/objects/modules/core/module.rb', line 7

def kind; ::Module; end