quickdraw/compilation_equivalence_cases/static_attributes.rb

Lines

0%

0 of 8 covered

Branches

—

0 of 0 covered

Methods

0%

0 of 1 covered

Not run
3-10
Never called
1# frozen_string_literal: true
2
30module EquivalenceCases
40 module StaticAttributes
50 class StaticAttributes < Phlex::HTML
60 def view_template
70 div(class: "a", id: "b", data: { x: 1 }) { "hi" }
80 a(href: "/x") { "link" }
90 input(type: "text", disabled: true, hidden: false, tabindex: 0)
100 div("data-x" => 1, class: nil, "str" => "v") { "k" } # rubocop:disable Style/HashSyntax
11 end
12 end
13 end
14end