lib/reuser/role.rb in reuser-0.2.1 vs lib/reuser/role.rb in reuser-0.2.2

- old
+ new

@@ -23,10 +23,10 @@ action(name, test) end end def could?(name, data) - @actions[name].call(data) + @actions[name] == Proc ? @actions[name].call(data) : true end private def actions(*names) names.each do |name|