Ah yes, work perfectly. Actually both the solution syou and Daniele worked
great.
Thanks.
-Rob
On Sat, May 10, 2008 at 7:36 AM, Tobias H. Michaelsen <
[EMAIL PROTECTED]> wrote:
> You can add the following to your ~/.bash_profile (or equivalent):
>
> export
> PKG_CONFIG_PATH="/Library/Framework
Hi John,
Here is my code that I have, this is the first method I attemepted since this
is one of the interesting logic. I thought I post my code for you to review as
well. This passed most of the test as well[
{
returnString = path;
}
[
{
}
[
{RubyMethod("basename",
RubyMethodAttributes.PublicSi
$KCODE is orthogonal to the encoding in MutableString. $KCODE seems to be just
a value that is used by some library methods that perform binary operations on
textual data. MutableString.Encoding is encoding of the representation. If a
MutableString instance is created from .NET string an encodin
Unnikrishnan Nair:
> Quick question, are these following assertions are correct?
>
> should_raise(TypeError){ File.basename(1) }
> should_raise(TypeError){ File.basename("bar.txt", 1) }
> should_raise(TypeError){ File.basename(true) }
Yes they are. You can easily verify this in MRI yo
Quick question, are these following assertions are correct?
should_raise(TypeError){ File.basename(1) }
should_raise(TypeError){ File.basename("bar.txt", 1) }
should_raise(TypeError){ File.basename(true) }
I was expecting all the above three should be ArgumentError than TypeError,
unti
You can add the following to your ~/.bash_profile (or equivalent):
export PKG_CONFIG_PATH="/Library/Frameworks/Mono.framework/Libraries/pkgconfig/"
That did it for me.
# Tobias
2008/5/9 Daniele Alessandri <[EMAIL PROTECTED]>:
> On 5/9/08, C.J. Adams-Collier <[EMAIL PROTECTED]> wrote:
>
>> Same
This is a big old diff to search through. I couldn't work out a way of
easily patching it onto my source at home due to the folder differences.
I really like this hybrid idea and it looks like it will work well. I have
one question with regards to encodings and KCODE.
I appreciate that String i
Andrew Peters:
> I'm keen to help out the effort and so I started having a look at
> implementing the nkf library.
>
> I'm about half done on nkf but it requires $KCODE so I thought I'd
> contribute that first on it's own.
>
> Still finding my way around so all feedback appreciated :-)
Hi Andrew,
This is a fairly major update. Ruby-visible changes include:
1) A brand new MutableString implementation that supports byte, char, and
immutable char strings.
2) Some wrappers for Regexp to support binding to the new MutableString
implementation
3) Bug fixes for module_function, singleton_method