platanus 0.0.24 → 0.0.25
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/lib/platanus/canned.rb +1 -1
- data/lib/platanus/version.rb +1 -1
- metadata +1 -1
data/lib/platanus/canned.rb
CHANGED
|
@@ -186,7 +186,7 @@ module Platanus
|
|
|
186
186
|
when :if_lower; return false unless user_feat < action_feat
|
|
187
187
|
else
|
|
188
188
|
# call custom test
|
|
189
|
-
if @owner.
|
|
189
|
+
if @owner.respond_to? test_name
|
|
190
190
|
return false unless @owner.send(test_name, action_feat, user_feat)
|
|
191
191
|
end
|
|
192
192
|
end
|
data/lib/platanus/version.rb
CHANGED