@customer.first_name = 's' This is called name mangling when IronRuby make CLR name Ruby-like.
Shay. ----------------------------- Shay Friedman Author of "IronRuby Unleashed" http://www.IronShay.com Follow me: http://twitter.com/ironshay On Thu, Sep 24, 2009 at 6:59 AM, Mohammad Azam <azamsh...@gmail.com> wrote: > How can I refer to the CLR properties in IronRuby. > public class Customer { > > public string FirstName { get;set; } > > } > > In Ruby: > > @customer.FirstName = 's' > > OR > > @customer.firstname = 's' > > -- > Mohammad Azam > MVP (Microsoft Valuable Professional) > www.highoncoding.com > www.azamsharp.com > > _______________________________________________ > Ironruby-core mailing list > 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