mod.include?(module) â true or false
Instance Public methods
Returns true
if module is included in mod or
one of mod's ancestors.
module A end class B include A end class C < B end B.include?(A) #=> true C.include?(A) #=> true A.include?(A) #=> false
Please login to continue.