IsModuleType() public static method

Returns true if the CLR type is treated as Ruby module (as opposed to a Ruby class)
public static IsModuleType ( Type type ) : bool
type System.Type
return bool
Beispiel #1
0
 protected RubyClass /*!*/ GetClass(Type /*!*/ type)
 {
     Debug.Assert(type != null && !RubyModule.IsModuleType(type));
     // TODO: CLR class vs library class:
     return(_context.GetOrCreateClass(type));
 }