Permalink
Browse files

default value for env

  • Loading branch information...
1 parent 35a4663 commit bdadbf9afbd68cc54897f6f62987e1a9c8bdfa83 cloudhead committed Jun 27, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/toto.rb
View
@@ -149,7 +149,7 @@ class Context
include Template
attr_reader :env
- def initialize ctx = {}, config = {}, path = "/", env
+ def initialize ctx = {}, config = {}, path = "/", env = {}
@config, @context, @path, @env = config, ctx, path, env
@articles = Site.articles(@config[:ext]).reverse.map do |a|
Article.new(a, @config)

0 comments on commit bdadbf9

Please sign in to comment.