leap 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/leap.gemspec +1 -1
- data/lib/leap/subject.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/leap.gemspec
CHANGED
data/lib/leap/subject.rb
CHANGED
@@ -7,7 +7,7 @@ module Leap
|
|
7
7
|
def decide(goal, options = {}, &blk)
|
8
8
|
decisions[goal] = ::Leap::Decision.new goal, options
|
9
9
|
Blockenspiel.invoke(blk, decisions[goal])
|
10
|
-
define_method goal do
|
10
|
+
define_method goal do |*considerations|
|
11
11
|
self.class.decisions[goal].make send(self.class.decisions[goal].signature_method), considerations
|
12
12
|
end
|
13
13
|
end
|