Module: SanitizeHtmlFields
- Defined in:
- lib/sanitize_html_fields.rb,
lib/sanitize_html_fields/version.rb,
lib/sanitize_html_fields/sanitize_html_fields.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Constant Summary collapse
- VERSION =
"1.0.0"
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 |
# File 'lib/sanitize_html_fields/sanitize_html_fields.rb', line 3 def self.included(base) base.extend ActionView::Helpers::SanitizeHelper::ClassMethods base.send :include, ActionView::Helpers::SanitizeHelper base.send :extend, ClassMethods end |