]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/r2.rb
Fix some more rubocop style issues
[rails.git] / config / initializers / r2.rb
index 70676ca7e0e128cc371c1021f91c9dd71ebe5462..bad88e1bafeeabc8a2e15d2f2f08ff65cb4d2962 100644 (file)
@@ -1,5 +1,5 @@
 class R2Template < Tilt::Template
 class R2Template < Tilt::Template
-  self.default_mime_type = 'text/css'
+  self.default_mime_type = "text/css"
 
   def self.engine_initialized?
     defined? ::R2
 
   def self.engine_initialized?
     defined? ::R2
@@ -12,8 +12,8 @@ class R2Template < Tilt::Template
   def prepare
     @output = R2.r2(data)
   end
   def prepare
     @output = R2.r2(data)
   end
-  
-  def evaluate(scope, locals, &block)
+
+  def evaluate(_scope, _locals, &_block)
     @output
   end
 end
     @output
   end
 end