Add a default parameter for Resolver#initialize

This commit is contained in:
Carl Lerche
2009-08-26 19:45:33 -07:00
parent 2890760665
commit 78ced08338

View File

@@ -4,7 +4,7 @@ require "action_view/template/template"
module ActionView
# Abstract superclass
class Resolver
def initialize(options)
def initialize(options = {})
@cache = options[:cache]
@cached = {}
end