~singpolyma/sgx-jmp

45c07210a934bd61da046903195e3ab1688ebf3b — Stephen Paul Weber 2 years ago d570ca9
Proc !== method
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/customer_repo.rb
M lib/customer_repo.rb => lib/customer_repo.rb +1 -1
@@ 11,7 11,7 @@ class CustomerRepo
	class NotFound < RuntimeError; end

	value_semantics do
		set_user          Proc,       default: ->(**) {}
		set_user          Proc,       default: ->(**) {}, coerce: :to_proc.to_proc
		redis             Anything(), default: LazyObject.new { REDIS }
		db                Anything(), default: LazyObject.new { DB }
		braintree         Anything(), default: LazyObject.new { BRAINTREE }