IronRuby does "name mangling" on many methods to look more Rubyish. The 
standard idiom in Ruby is to have methods with snake_case names, so this fits 
with that. Both DeepPink and deep_pink should work in this case.

JD

...there is no try

> -----Original Message-----
> From: [email protected] [mailto:ironruby-core-
> [email protected]] On Behalf Of Mohammad Azam
> Sent: Tuesday, June 16, 2009 9:17 AM
> To: [email protected]
> Subject: Re: [Ironruby-core] Accessing Enumeration in IronRuby
>
> Thanks it worked!
>
> But why the inconsistency with the deep_pink instead of DeepPink?
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ironruby-core mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to