1
0
Fork 0
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:
Carlos Antonio da Silva 2013-09-06 07:56:33 -03:00
parent 5f9ff8c3fc
commit faccffed19

View file

@ -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