lib/string_doc/meta_attributes.rb in pakyow-presenter-1.0.0.rc3 vs lib/string_doc/meta_attributes.rb in pakyow-presenter-1.0.0.rc4
- old
+ new
@@ -36,14 +36,12 @@
attributes.each(&block)
end
end
# @api private
- def wrap
+ def wrap(&block)
@attributes.each do |attributes|
- attributes.each do |key, value|
- yield value, key
- end
+ attributes.wrap(&block)
end
end
end
end