example/ex15.rb in asir-0.2.0 vs example/ex15.rb in asir-1.0.1
- old
+ new
@@ -1,11 +1,11 @@
# !SLIDE :capture_code_output true
# Local Process with delay option.
require 'example_helper'
-pr DelayedService.client.
- _configure{|req| req.delay = 5}.
+pr DelayedService.asir.
+ _configure{|req, p| req.delay = 5}.
do_it(Time.now)
# !SLIDE END
# EXPECT: : client process
# EXPECT: DelayedService.do_it => :ok