lib/lookbook/preview_group.rb in lookbook-1.1.1 vs lib/lookbook/preview_group.rb in lookbook-1.2.0
- old
+ new
@@ -23,13 +23,13 @@
def params
examples.map(&:params).flatten.uniq { |param| param[:name] }
end
- def display_params
+ def display_options
merged = {}
examples.reverse.map do |example|
- merged.merge! example.display_params
+ merged.merge! example.display_options
end
merged
end
def hidden?