class Object
Public Instance Methods
description()
click to toggle source
# File lib/restrict/rspec/matcher.rb, line 40 def description "Checks if a restriction for a given action is defined on the controller" end
matching_unless(restriction, given_unless)
click to toggle source
# File lib/restrict/rspec/matcher.rb, line 19 def matching_unless(restriction, given_unless) given_unless or return true restriction.unless == given_unless end