Hi Stefan,

You are 100% right, I just tested the Dryml guide example code and it
doesn't work. Github issue coming, thanks for the report :).

Regards,
Ignacio

El 07/02/14 12:53, Stefan Haslinger escribió:
> Hi folks!
> 
> From the DRYML Guide at the section Repeating over hashes:
> 
>     If you give a hash as the value to repeat over, DRYML will iterate
>     over each key/value pair, with the value available as|this| (i.e.
>     the implicit context) and the key available as |this_key|.
> 
> 
> I see here something different, they are available as this[0] and
> this[1] and this.class is Array.
> I tried that for Hash as well as ActiveSupport::OrderedHash, both are
> treated the same way in this regard.
> 
> It works fine that way, no complaints :-), it's just not as beautiful. I
> would just like to now, if I am doing something wrong here.
> 
> Greetings,
> Stefan
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Hobo Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/hobousers.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
Ignacio Huerta Arteche
http://www.ihuerta.net
Teléfono: 0034 645 70 77 35
Email realizado con software libre

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to