Method: Module#declare_compliance!
- Defined in:
- lib/y_support/typing/module/typing.rb
#declare_compliance!(other_module) ⇒ Object
Declaration of module / class compliance.
36 37 38 39 40 41 |
# File 'lib/y_support/typing/module/typing.rb', line 36 def declare_compliance! other_module other_module.aT_kind_of Module, "other module" return false if declared_compliance.include? other_module ( @declared_compliance ||= [] ) << other_module return true end |