Example #1
0
        public static bool CaseCompare(RubyContext /*!*/ context, RubyRegex /*!*/ self, object str)
        {
            MutableString asString = Protocols.AsString(context, str);

            if (asString == null)
            {
                return(false);
            }
            return(CaseCompare(context, self, asString));
        }
Example #2
0
 public static MutableString /*!*/ GetMessage(RubyContext /*!*/ context, Exception /*!*/ self)
 {
     return(Protocols.AsString(context, GetMessage(self)));
 }