Class: Credentials::DenyRule

Inherits:
Rule
  • Object
show all
Defined in:
lib/credentials/deny_rule.rb

Instance Attribute Summary

Attributes inherited from Rule

#options, #parameters

Instance Method Summary collapse

Methods inherited from Rule

#arity, #evaluate_condition, #evaluate_preposition, #initialize, #match?

Constructor Details

This class inherits a constructor from Credentials::Rule

Instance Method Details

#deny?(*args) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/credentials/deny_rule.rb', line 3

def deny?(*args)
  self.match?(*args)
end