Method: Module#declares_compliance?

Defined in:
lib/y_support/typing/module/typing.rb

#declares_compliance?(other_module) ⇒ Boolean

Declared complience inquirer.

Returns:

  • (Boolean)


15
16
17
18
# File 'lib/y_support/typing/module/typing.rb', line 15

def declares_compliance?( other_module )
  other_module.aT_kind_of Module, "other module"
  declared_compliance.include? other_module
end