Class: Gort::DisallowRule
- Defined in:
- lib/gort/disallow_rule.rb
Overview
Disallow rule.
Instance Attribute Summary
Attributes inherited from Rule
Instance Method Summary collapse
-
#initialize(value) ⇒ DisallowRule
constructor
A new instance of DisallowRule.
Methods inherited from PathRule
#inspect, #match, #pretty_print, #valid?
Methods inherited from Rule
Constructor Details
#initialize(value) ⇒ DisallowRule
Returns a new instance of DisallowRule.
9 10 11 |
# File 'lib/gort/disallow_rule.rb', line 9 def initialize(value) super(:disallow, value) end |