quickdraw/compilation_equivalence_cases/custom_set_constant.rb

Lines

100%

8 of 8 covered

Branches

—

0 of 0 covered

Methods

100%

2 of 2 covered

1# frozen_string_literal: true
2
31module EquivalenceCases
41 module CustomSetConstant
51 class CustomSetConstant < Phlex::HTML
61 module Set
71 def self.[](*) = ["custom"]
8 end
9
101 def view_template
116 div(class: Set["a", "b"]) { "x" }
126 div(class: ::Set["a", "b"]) { "y" }
13 end
14 end
15 end
16end