Get rid of cattr_accessor

This commit is contained in:
Jeremy McAnally 2010-01-31 23:10:07 -06:00
parent d6a740e2db
commit 3315d899d6
1 changed files with 8 additions and 1 deletions

View File

@ -33,7 +33,14 @@ module Rails
class RouteRedrawer
attr_accessor :routes
cattr_accessor :stack
def self.stack
@stack
end
def self.stack=(val)
@stack = val
end
def initialize
@routes = []