lib/yuuki/caller.rb in yuuki-0.1.9 vs lib/yuuki/caller.rb in yuuki-0.1.10
- old
+ new
@@ -147,13 +147,13 @@
end
end
end
def run_method_internal(method, args, &block)
+ yoshinon = Yoshinon.lock if @use_yoshinon
params = method.parameters
return method[] if params.empty?
- yoshinon = Yoshinon.lock if @use_yoshinon
params_array = []
params_hash = {}
params_block = nil
nonspecified_last_opt = nil
params.each do |type, name|