Hi all,
maybe I'm missing something but I can't find a way to get an array
containing the properties' names of the resource without traversing
the Resource::properties array. Actually, to get what I want I have to
do something like this:
prop_names = properties.collect { |prop| prop.name }
What I'm missing?
Thanks in advance.
Andrea
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DataMapper" 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/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---