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 | ||
| 3 | 0 | module EquivalenceCases |
| 4 | 0 | module Ruby2KeywordsReopened |
| 5 | 0 | class Ruby2KeywordsReopened < Phlex::HTML |
| 6 | 0 | def view_template |
| 7 | 0 | delegate(:div, class: "x") { "y" } |
| 8 | end | |
| 9 | ||
| 10 | 0 | def delegate(name, *args, &block) |
| 11 | 0 | span { "delegating" } |
| 12 | 0 | __send__(name, *args, &block) |
| 13 | end | |
| 14 | end | |
| 15 | ||
| 16 | # The mark sits in a reopening, a different class statement. | |
| 17 | 0 | class Ruby2KeywordsReopened |
| 18 | 0 | ruby2_keywords :delegate |
| 19 | end | |
| 20 | end | |
| 21 | end |