module M
def report
puts "'report' method in module M"
end
end
class C
include M # module M is mixed into class C
end
class D < C # Class D is subclass class C
end
obj = D.new # obj is an instance of D
obj.report
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)