On Dec 17, 2007, at 17:47 , Assaf Arkin wrote:

It is a fun language :-)

Looks good.  I'm thinking maybe we should have:

profile => always returns the current profile
profiles => return a hash of profiles

With a hash, you can easily retrieve a particular profile, like
profiles['development'], list all the profiles, add or change them in code,
etc.  You can do fallback, e.g.:

profiles['qa'] || profiles['test']

Assaf


You are right. With hashes it's definitely better. I will do a revision...


Regards,
Yanko

Reply via email to