quickdraw/compilation_equivalence_cases/heredoc.rb

Lines

0%

0 of 9 covered

Branches

—

0 of 0 covered

Methods

0%

0 of 2 covered

Not run
3-917-18
Never called
1# frozen_string_literal: true
2
30module EquivalenceCases
40 module Heredoc
50 class Heredoc < Phlex::HTML
60 def view_template
70 lines = 3
80 unknown {
90 p { <<~FIRST }
10 This is a heredoc.
11 It has #{lines} lines of text.
12 And it's all going in this <p> tag.
13 FIRST
14 }
15 end
16
170 def unknown
180 yield
19 end
20 end
21 end
22end