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
Defined Under Namespace
Modules: ActionViewExtension, ActiveModelExtension, ActiveRecordExtension
Classes: Railtie
Constant Summary
collapse
- VERSION =
'1.4.0'
Class Method Summary
collapse
Class Method Details
.enabled ⇒ Object
6
7
8
|
# File 'lib/html5_validators.rb', line 6
def self.enabled
@enabled
end
|
.enabled=(enable) ⇒ Object
10
11
12
|
# File 'lib/html5_validators.rb', line 10
def self.enabled=(enable)
@enabled = enable
end
|