diminish7 / rave

A Google Wave robot client framework for Ruby
http://github.com/diminish7/rave
MIT License
62 stars 8 forks source link

Add specific properties for elements #38

Closed bil-bas closed 14 years ago

bil-bas commented 14 years ago

Currently, all properties within elements are accessed via [] operator, but except for gadgets, the list of properties is set for each element type (e.g. for an image, there should always be url, length and width properties).

Make a property_accessor method to allow managed access to properties within all except gadgets, which will have to keep indirect access to the arbitrary properties within it (except url, which is always on a gadget).

diminish7 commented 14 years ago

Done