yield self along with options in extension activation

This commit is contained in:
Thomas Reynolds 2014-10-18 12:11:18 -05:00
parent 127fba17ef
commit 54e10cf472

View file

@ -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?