README.md in artdeco-1.1.0 vs README.md in artdeco-1.2.0
- old
+ new
@@ -47,9 +47,12 @@
# or
Artdeco.decorate(user, self, decorator: [ Customer, Admin ] )
+Also works for enumerations (anything which responds to :map):
+ @articles = Article.all
+ Artdeco.decorate(@articles, self)
For conveniance decorated objects may decorate other objects:
Artdeco.decorate(order, self)