lib/atome/renderers/html/effect.rb in atome-0.5.1.9 vs lib/atome/renderers/html/effect.rb in atome-0.5.2.5
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
generator = Genesis.generator
-generator.build_render_method(:html_smooth) do |value|
+generator.build_render(:html_smooth) do |value|
formated_params = case value
when Array
properties = []
value.each do |param|
properties << "#{param}px"