quickdraw/compilation_equivalence_cases/ruby2_keywords_splat.rb
Lines
0%0 of 8 covered
Branches
—0 of 0 covered
Methods
0%0 of 2 covered
- Not run
- 3-710-1114
- Never called
| 1 | # frozen_string_literal: true | |
| 2 | ||
| 3 | 0 | module EquivalenceCases |
| 4 | 0 | module Ruby2KeywordsSplat |
| 5 | 0 | class Ruby2KeywordsSplat < 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 | __send__(name, *args, &block) |
| 12 | end | |
| 13 | ||
| 14 | 0 | ruby2_keywords(*[:delegate]) |
| 15 | end | |
| 16 | end | |
| 17 | end |