lib/nanoc/page_proxy.rb in nanoc-1.6.1 vs lib/nanoc/page_proxy.rb in nanoc-1.6.2

- old
+ new

@@ -16,9 +16,13 @@ else @page.attributes[key] end end + def []=(key, value) + @page.attributes[key.to_sym] = value + end + def method_missing(method, *args) self[method] end end