lib/reuser.rb in reuser-3.1.1 vs lib/reuser.rb in reuser-3.1.2

- old
+ new

@@ -35,9 +35,10 @@ if block_args.empty? block_args << self end self.class.role(self.role).could? permission, *block_args end + alias_method :able_to?, :could? def couldnt? permission, *block_args !could?(permission, *block_args) end end