Class: MiniDefender::Rules::Excluded
Class Method Summary
collapse
Instance Method Summary
collapse
#active?, available?, #bails?, #coerce, #default_value, #defaults?, #error_message, #force_coerce?, #implicit?, make, #message, #priority, #stops?, #with_message
Class Method Details
.signature ⇒ Object
4
5
6
|
# File 'lib/mini_defender/rules/excluded.rb', line 4
def self.signature
'excluded'
end
|
Instance Method Details
#excluded?(validator) ⇒ Boolean
8
9
10
|
# File 'lib/mini_defender/rules/excluded.rb', line 8
def excluded?(validator)
true
end
|
#passes?(attribute, value, validator) ⇒ Boolean
12
13
14
|
# File 'lib/mini_defender/rules/excluded.rb', line 12
def passes?(attribute, value, validator)
true
end
|