lib/penthouse.rb in penthouse-0.10.0 vs lib/penthouse.rb in penthouse-0.10.1
- old
+ new
@@ -41,10 +41,10 @@
# @param tenant_identifiers [Array<String, Symbol>, nil] the array of tenants to loop through
# @param default_tenant [String, Symbol] the identifier for the tenant to return to
# @param block [Block] the code to execute
# @yield [String, Symbol] the identifier for the tenant
# @return [void]
- def each_tenant(tenant_identifiers: self.tenant_identifiers, default_tenant: self.tenant, runner: self.configuration.runner, &block)
+ def each_tenant(tenant_identifiers: self.tenant_identifiers, runner: self.configuration.runner, &block)
tenant_identifiers.each do |tenant_identifier|
switch(tenant_identifier, runner: runner, &block)
end
end