yield self along with options in extension activation
This commit is contained in:
parent
127fba17ef
commit
54e10cf472
|
@ -238,7 +238,7 @@ module Middleman
|
|||
@options[k] = v
|
||||
end
|
||||
|
||||
yield @options if block_given?
|
||||
yield @options, self if block_given?
|
||||
|
||||
@options.all_settings.each do |o|
|
||||
next unless o.options[:required] && !o.value_set?
|
||||
|
|
Loading…
Reference in a new issue