module SimpleForm::Components::Pattern

Needs to be enabled in order to do automatic lookups.

Public Instance Methods

pattern() click to toggle source
# File lib/simple_form/components/pattern.rb, line 5
def pattern
  input_html_options[:pattern] ||= pattern_source
  nil
end