lib/scram/concerns/holder.rb in scram-0.1.3 vs lib/scram/concerns/holder.rb in scram-0.1.4

- old
+ new

@@ -31,8 +31,12 @@ end return false end + # Helper method to enhance readability of permission checks + def cannot? *args + !can?(*args) + end end end