quickdraw/compilation_equivalence_cases/ruby2_keywords_reopened.rb

Lines

0%

0 of 10 covered

Branches

—

0 of 0 covered

Methods

0%

0 of 2 covered

Not run
3-710-1217-18
Never called
1# frozen_string_literal: true
2
30module EquivalenceCases
40 module Ruby2KeywordsReopened
50 class Ruby2KeywordsReopened < Phlex::HTML
60 def view_template
70 delegate(:div, class: "x") { "y" }
8 end
9
100 def delegate(name, *args, &block)
110 span { "delegating" }
120 __send__(name, *args, &block)
13 end
14 end
15
16 # The mark sits in a reopening, a different class statement.
170 class Ruby2KeywordsReopened
180 ruby2_keywords :delegate
19 end
20 end
21end