build groups: finish renaming
parent
d3c52c5536
commit
d1993eb14f
|
|
@ -15,7 +15,7 @@ module Squib
|
||||||
# DSL method. See http://squib.readthedocs.org
|
# DSL method. See http://squib.readthedocs.org
|
||||||
def build grp = :all, &block
|
def build grp = :all, &block
|
||||||
raise 'Please provide a block' unless block_given?
|
raise 'Please provide a block' unless block_given?
|
||||||
block.yield if groups.include? grp
|
block.yield if build_groups.include? grp
|
||||||
end
|
end
|
||||||
|
|
||||||
# DSL method. See http://squib.readthedocs.org
|
# DSL method. See http://squib.readthedocs.org
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue