lib/surrounded/context/initializing.rb in surrounded-0.9.9 vs lib/surrounded/context/initializing.rb in surrounded-0.9.10

- old
+ new

@@ -27,11 +27,9 @@ instance.instance_eval(&initializer_block) if initializer_block end def default_initializer(params, setup_args, &block) private_attr_reader(*setup_args) - - parameters = setup_args.map{|a| "#{a}:"}.join(',') @initializer_block = block || nil mod = Module.new line = __LINE__; mod.class_eval %{ def initialize(#{params}) @role_map = role_mapper_class.new \ No newline at end of file