Sha256: 6ca8bc60d512c9283793668a68c118aa0c5fbaa700956eea60eb5dd6dc6d2f03
Contents?: true
Size: 332 Bytes
Versions: 21
Compression:
Stored size: 332 Bytes
Contents
- content_for :demo do h1 This is content yielded from a content_for .demo== yield_content :demo - content_for :demo2 do |fname, lname| h1 This is content yielded with name #{fname + " " + lname} .demo2== yield_content :demo2, "Johnny", "Smith" .demo_has_content== content_for?(:demo) .fake_has_content== content_for?(:fake)
Version data entries
21 entries across 21 versions & 3 rubygems