lib/lookbook/preview_group.rb in lookbook-0.7.2.beta.3 vs lib/lookbook/preview_group.rb in lookbook-0.7.2.beta.4

- old
+ new

@@ -29,10 +29,14 @@ def params examples.map(&:params).flatten.uniq { |param| param[:name] } end def display_params - {} + merged = {} + examples.reverse.map do |example| + merged.merge! example.display_params + end + merged end def hidden? false end