#NEWLINE# @ moduledef . method ( 'kind_of?' ) #NEWLINE# @ moduledef . method ( 'is_a?' ) #NEWLINE# def method_is_kind_ofp( self , space , w_mod ) : #NEWLINE# #INDENT# if ( not isinstance ( w_mod , W_ModuleObject ) ) : #NEWLINE# #INDENT# raise space . error ( self . w_TypeError , 'class or module required' ) #NEWLINE# #UNINDENT# return space . newbool ( self . is_kind_of ( space , w_mod ) )