quickdraw/compilation_equivalence_cases/attributes.rb

Lines

100%

5 of 5 covered

Branches

—

0 of 0 covered

Methods

100%

1 of 1 covered

1# frozen_string_literal: true
2
31module EquivalenceCases
41 module Attributes
51 class Attributes < Phlex::HTML
61 def view_template
7 # rubocop:disable Style/HashSyntax
83 div(
9 a: nil,
10 b: 1,
11 c: :two,
12 d: "three",
13 e: 4.5,
14 f: false,
15 g: true,
16 h: [nil, 1, :two, "three", 4.5, [1]],
17 i: Set[nil, 1, :two, "three", 4.5, [1]],
18 j: {
19 k: 1,
20 "l" => 2,
21 },
22 "m" => 3,
23 )
24 # rubocop:enable Style/HashSyntax
25 end
26 end
27 end
28end