mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Do not use instance variables if they are not reused elsewhere
This commit is contained in:
parent
5f9ff8c3fc
commit
faccffed19
1 changed files with 1 additions and 2 deletions
|
@ -8,8 +8,7 @@ module ActionController
|
|||
|
||||
class MissingRenderer < LoadError
|
||||
def initialize(format)
|
||||
@format = format
|
||||
super("No renderer defined for format: #{@format}")
|
||||
super "No renderer defined for format: #{format}"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue