Sha256: d35bc068cec117ddfec17fd9b46167beb6f053c9f2d7064639948eaddc276d8e
Contents?: true
Size: 1.24 KB
Versions: 4
Compression:
Stored size: 1.24 KB
Contents
# frozen_string_literal: true module Fixtures module StandardElement class WithParens < Phlex::HTML def template h1() end end class WithoutParens < Phlex::HTML def template h1 end end module WithAttributes class WithParens < Phlex::HTML def template h1(class: "font-bold") end end class WithoutParens < Phlex::HTML def template h1 class: "font-bold" end end end module WithBraceBlock class WithParens < Phlex::HTML def template h1() { "Hi" } end end class WithoutParens < Phlex::HTML def template h1 { "Hi" } end end class WithAttributes < Phlex::HTML def template h1(class: "font-bold") { "Hi" } end end end module WithDoBlock class WithParens < Phlex::HTML def template h1() do "Hi" end end end class WithoutParens < Phlex::HTML def template h1 do "Hi" end end end module WithAttributes class WithParens < Phlex::HTML def template h1(class: "font-bold") do "Hi" end end end class WithoutParens < Phlex::HTML def template h1 class: "font-bold" do "Hi" end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
phlex-0.5.3 | fixtures/standard_element.rb |
phlex-0.5.2 | fixtures/standard_element.rb |
phlex-0.5.1 | fixtures/standard_element.rb |
phlex-0.5.0 | fixtures/standard_element.rb |