Module: Html5Validators
- Defined in:
- lib/html5_validators.rb,
lib/html5_validators/version.rb,
lib/html5_validators/active_record/base.rb,
lib/html5_validators/action_view/form_helpers.rb,
lib/html5_validators/active_model/validations.rb,
lib/html5_validators/active_model/helper_methods.rb
Defined Under Namespace
Modules: ActionViewExtension, ActiveModelExtension, ActiveRecordExtension, DafaultValidationContext
Classes: Railtie
Constant Summary
collapse
- VERSION =
'1.8.0'
Class Method Summary
collapse
Class Method Details
.enabled ⇒ Object
8
9
10
|
# File 'lib/html5_validators.rb', line 8
def self.enabled
@enabled
end
|
.enabled=(enable) ⇒ Object
12
13
14
|
# File 'lib/html5_validators.rb', line 12
def self.enabled=(enable)
@enabled = enable
end
|