Class: Validate::Constraints::ValidationContext::None
Instance Attribute Summary
#value
Instance Method Summary
collapse
key, #merge, none, root, #to_err
Constructor Details
#initialize ⇒ None
Returns a new instance of None.
163
164
|
# File 'lib/validate/constraints/validation_context.rb', line 163
def initialize
end
|
Instance Method Details
#[](_) ⇒ Object
166
167
168
|
# File 'lib/validate/constraints/validation_context.rb', line 166
def [](_)
self
end
|
#add_violation(_) ⇒ Object
174
175
176
|
# File 'lib/validate/constraints/validation_context.rb', line 174
def add_violation(_)
self
end
|
#attr(_) ⇒ Object
170
171
172
|
# File 'lib/validate/constraints/validation_context.rb', line 170
def attr(_)
self
end
|
#clear_violations ⇒ Object
178
179
180
|
# File 'lib/validate/constraints/validation_context.rb', line 178
def clear_violations
self
end
|
#has_violations? ⇒ Boolean
182
183
184
|
# File 'lib/validate/constraints/validation_context.rb', line 182
def has_violations?
false
end
|