Class: ValidationExcluded
- Inherits:
-
Object
- Object
- ValidationExcluded
- Defined in:
- lib/cocoapods-whitelist/model/validation_excluded.rb
Overview
Defines the structure for a pod excluding validations.
Instance Attribute Summary collapse
-
#excluded_rules ⇒ Object
Returns the value of attribute excluded_rules.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #excludes(rule) ⇒ Object
-
#initialize(name, excluding) ⇒ ValidationExcluded
constructor
A new instance of ValidationExcluded.
Constructor Details
#initialize(name, excluding) ⇒ ValidationExcluded
Returns a new instance of ValidationExcluded.
7 8 9 10 |
# File 'lib/cocoapods-whitelist/model/validation_excluded.rb', line 7 def initialize(name, excluding) @name = name @excluded_rules = excluding end |
Instance Attribute Details
#excluded_rules ⇒ Object
Returns the value of attribute excluded_rules.
5 6 7 |
# File 'lib/cocoapods-whitelist/model/validation_excluded.rb', line 5 def excluded_rules @excluded_rules end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/cocoapods-whitelist/model/validation_excluded.rb', line 4 def name @name end |
Instance Method Details
#excludes(rule) ⇒ Object
12 13 14 |
# File 'lib/cocoapods-whitelist/model/validation_excluded.rb', line 12 def excludes(rule) return true end |