Without thinking, I just used the same convention as the original question and didn’t mean to imply anything by it. I mostly live in other languages, so it didn’t even stand out.
From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Ivan Porto Carrero Sent: Tuesday, June 16, 2009 9:24 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Accessing Enumeration in IronRuby So what is up with naming conventions.. are it ruby naming conventions or CLR naming conventions? I'm going to argue in favor of ruby naming conventions. Is there going to be a definitive list for this? (naming conventions being a pet peeve of mine) --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) On Tue, Jun 16, 2009 at 6:10 PM, Curt Hagenlocher <cu...@microsoft.com<mailto:cu...@microsoft.com>> wrote: You're close; you want "System::Drawing::Color.DeepPink". -----Original Message----- From: ironruby-core-boun...@rubyforge.org<mailto:ironruby-core-boun...@rubyforge.org> [mailto:ironruby-core-boun...@rubyforge.org<mailto:ironruby-core-boun...@rubyforge.org>] On Behalf Of Mohammad Azam Sent: Tuesday, June 16, 2009 9:04 AM To: ironruby-core@rubyforge.org<mailto:ironruby-core@rubyforge.org> Subject: [Ironruby-core] Accessing Enumeration in IronRuby Hi, I am using IR to do some IronRuby programing and enjoying it! I created a Form like this: Form = System::Windows::Forms::Form form = Form.new form.ShowDialog() Now, I need to assign BackColor to the Form. I tried the following: form.BackColor = System::Drawing::Color::DeekPink But it is not able to recognize the Color class. >>> form.BackColor = System::Drawing::Color::DeepPink :0:in `const_missing': uninitialized constant System::Drawing::Color::DeepPink ( NameError) from :0 Any ideas! -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core