gems/eskimo-html/lib/eskimo/html/component.rb
# Mapping of Ruby attribute name to HTML attribute name; some words like
# "class" are reserved and are problematic when passed as attributes so this
# hash supports a method to rewrite those.
Mapping of Ruby attribute name to HTML attribute name; some words like
"class" are reserved and are problematic when passed as attributes so this
hash supports a method to rewrite those.
Mapping of Ruby attribute name to HTML attribute name ; some words like " class " are reserved and are problematic when passed as attributes so this hash supports a method to rewrite those .
def render(render:, **)
      tag_with_attributes = "#{tag_name} #{serialize_attributes}"
      "<#{tag_with_attributes.strip}>#{render[@children]}</#{tag_name}>"
    end
def render ( render : , ** ) tag_with_attributes = "#{tag_name} #{serialize_attributes}" "<#{tag_with_attributes.strip}>#{render[@children]}</#{tag_name}>" end
Mapping of Ruby attribute name to HTML attribute name; some words like
"class" are reserved and are problematic when passed as attributes so this
hash supports a method to rewrite those.
Mapping of Ruby attribute name to HTML attribute name ; some words like " class " are reserved and are problematic when passed as attributes so this hash supports a method to rewrite those .
render