This rule was added in rubocop 1.79. We were inconsistent about it, so we're adding it to get more consistency.
14 lines
191 B
Ruby
14 lines
191 B
Ruby
class Admin::Tenants::EditComponent < ApplicationComponent
|
|
include Header
|
|
|
|
attr_reader :tenant
|
|
|
|
def initialize(tenant)
|
|
@tenant = tenant
|
|
end
|
|
|
|
def title
|
|
tenant.name
|
|
end
|
|
end
|