Module: Katalyst::HtmlAttributes

Extended by:
ActiveSupport::Concern
Defined in:
lib/katalyst/html_attributes.rb,
lib/katalyst/html_attributes/has_html_attributes.rb

Defined Under Namespace

Modules: HasHtmlAttributes

Instance Method Summary collapse

Instance Method Details

#initialize(**options) ⇒ Object



30
31
32
33
34
# File 'lib/katalyst/html_attributes.rb', line 30

def initialize(**options)
  super(**options.except(:id, :aria, :class, :data, :html))

  self.html_attributes = options
end