lib/lookbook/preview_group.rb in lookbook-1.2.1 vs lib/lookbook/preview_group.rb in lookbook-1.3.0
- old
+ new
@@ -19,13 +19,9 @@
def type
:group
end
- def params
- examples.map(&:params).flatten.uniq { |param| param[:name] }
- end
-
def display_options
merged = {}
examples.reverse.map do |example|
merged.merge! example.display_options
end