Class: Credentials::AllowRule

Inherits:
Rule
  • Object
show all
Defined in:
lib/credentials/allow_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

#allow?(*args) ⇒ Boolean

Returns:

  • (Boolean)


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

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