On 20/09/08 1:06, Jos Backus wrote: > On Fri, Sep 19, 2008 at 09:29:01PM +0200, Brice Figureau wrote: >> + case @operator >> + when "and": Puppet::Parser::Scope.true?(rval) and >> Puppet::Parser::Scope.true?(lval) >> + when "or": Puppet::Parser::Scope.true?(rval) or >> Puppet::Parser::Scope.true?(lval) > > Thanks for working on this, Brice. Please be aware that the use of `:' is > deprecated and will yield an error message with Ruby 1.9. Use `;' instead.
Oh, really? I wasn't aware of this (I'm still really new to ruby). Does ';' works with 1.8? Is there any other (important language) changes in 1.9 I should be aware of ? Thanks, -- Brice Figureau Days of Wonder http://www.daysofwonder.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en -~----------~----~----~----~------~----~------~--~---
