lib/surrounded/context/initializing.rb in surrounded-1.0.0 vs lib/surrounded/context/initializing.rb in surrounded-1.1.0
- old
+ new
@@ -1,8 +1,9 @@
module Surrounded
module Context
module Initializing
+ extend Seclusion
# Shorthand for creating an instance level initialize method which
# handles the mapping of the given arguments to their named role.
def initialize_without_keywords(*setup_args, &block)
parameters = setup_args.join(',')
default_initializer(parameters, setup_args, &block)
@@ -39,6 +40,6 @@
include mod
private_attr_reader :initializer_arguments
end
end
end
-end
\ No newline at end of file
+end