wormhole 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +5 -1
- data/README +14 -1
- data/Rakefile +1 -1
- data/lib/wormhole.rb +1 -0
- data/test/wormhole_test.rb +2 -3
- metadata +1 -1
data/ChangeLog
CHANGED
data/README
CHANGED
@@ -19,9 +19,22 @@ depth of stack to outside.
|
|
19
19
|
|
20
20
|
== Features/Problems
|
21
21
|
|
22
|
-
|
23
22
|
== Synopsis
|
24
23
|
|
24
|
+
Here is an example of use.
|
25
|
+
|
26
|
+
require 'rubygems'
|
27
|
+
require 'wormhole'
|
28
|
+
|
29
|
+
def some_method
|
30
|
+
Wormhole.throw
|
31
|
+
end
|
32
|
+
|
33
|
+
w = Wormhole.catch do
|
34
|
+
some_method
|
35
|
+
end
|
36
|
+
w.return
|
37
|
+
|
25
38
|
== Copyright
|
26
39
|
|
27
40
|
Author:: takiuchi <genki{at}s21g{dot}com>
|
data/Rakefile
CHANGED
@@ -18,7 +18,7 @@ DESCRIPTION = "The utility library for making a wormhole on the stack fram
|
|
18
18
|
RUBYFORGE_PROJECT = "cocktail-party"
|
19
19
|
HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
|
20
20
|
BIN_FILES = %w( )
|
21
|
-
VERS = "0.1.
|
21
|
+
VERS = "0.1.1"
|
22
22
|
|
23
23
|
REV = File.read(".svn/entries")[/committed-rev="(d+)"/, 1] rescue nil
|
24
24
|
CLEAN.include ['**/.*.sw?', '*.gem', '.config']
|
data/lib/wormhole.rb
CHANGED
data/test/wormhole_test.rb
CHANGED