quickdraw/compilation_equivalence_cases/overridden_attributes.rb

Lines

0%

0 of 10 covered

Branches

—

0 of 0 covered

Methods

0%

0 of 2 covered

Not run
3-1114
Never called
1# frozen_string_literal: true
2
30module EquivalenceCases
40 module OverriddenAttributes
50 class OverriddenAttributes < Phlex::HTML
60 def view_template
70 div(**{ id: "x" }) # rubocop:disable Style/RedundantDoubleSplatHashBraces
80 extra = { class: "c" }
90 span(id: "y", **extra) { "z" }
100 img(**Hash.new(["default"]))
110 img(**{})
12 end
13
140 private def __attributes__(_attributes) = " custom"
15 end
16 end
17end