lib/surrounded/context/initializing.rb in surrounded-0.9.4 vs lib/surrounded/context/initializing.rb in surrounded-0.9.5
- old
+ new
@@ -8,10 +8,9 @@
mod = Module.new
line = __LINE__
mod.class_eval "
def initialize(#{setup_args.join(',')})
- @role_map = role_mapper_class.new
map_roles(#{setup_args.to_s}.zip([#{setup_args.join(',')}]))
end
", __FILE__, line
const_set("ContextInitializer", mod)
include mod
\ No newline at end of file