Permalink
Browse files

namespace CSSVariables middleware properly - now Rack::CSSVariables

  • Loading branch information...
1 parent bfab26f commit cf41cf14950497eac003e0fd3fad5e83149c3032 @peburrows committed Jun 4, 2009
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/rack/contrib/cssvariables.rb
@@ -1,6 +1,7 @@
require 'erb'
require 'fileutils'
+module Rack
class CSSVariables
File = ::File
@@ -62,8 +63,8 @@ def call(env)
end
end
-end
-
+end # CSSVariables
+end # Rack
# give ERB the ability to respond to ERB.render(content), because, to standardize things,
# that's how the CssVariables middleware will call the parser

0 comments on commit cf41cf1

Please sign in to comment.