public static void ConvertToIntegerRange(RubyContext /*!*/ context, Range /*!*/ range, out int begin, out int end, out bool excludeEnd) { begin = Protocols.CastToFixnum(context, RubySites.RangeBegin(context, range)); end = Protocols.CastToFixnum(context, RubySites.RangeEnd(context, range)); excludeEnd = RubySites.RangeExcludeEnd(context, range); }