Make rubocop TrivialAccessors warnings less annoying
This commit is contained in:
parent
18884cac95
commit
ce914e508a
4 changed files with 2 additions and 3 deletions
|
@ -51,3 +51,5 @@ FormatString:
|
|||
Enabled: false
|
||||
CaseIndentation:
|
||||
IndentWhenRelativeTo: end
|
||||
TrivialAccessors:
|
||||
ExactNameMatch: true
|
|
@ -162,7 +162,6 @@ module Middleman
|
|||
end
|
||||
|
||||
# Whether or not there has been a value set beyond the default
|
||||
# rubocop:disable TrivialAccessors
|
||||
def value_set?
|
||||
@value_set
|
||||
end
|
||||
|
|
|
@ -88,7 +88,6 @@ module Middleman
|
|||
module ProxyResourceInstanceMethods
|
||||
# Whether this page is a proxy
|
||||
# @return [Boolean]
|
||||
# rubocop:disable TrivialAccessors
|
||||
def proxy?
|
||||
@proxied_to
|
||||
end
|
||||
|
|
|
@ -47,7 +47,6 @@ module Middleman
|
|||
# @api private
|
||||
# @param [String] buf_was
|
||||
# @return [void]
|
||||
# rubocop:disable TrivialAccessors
|
||||
def restore_buffer(buf_was)
|
||||
@_out_buf = buf_was
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue