Method: Formular::Element#attributes
- Defined in:
- lib/formular/element.rb
#attributes ⇒ Object
88 89 90 91 |
# File 'lib/formular/element.rb', line 88 def attributes attrs = @options.select { |k, v| @options[k] || true unless option_key?(k) } Attributes[attrs] end |