Sha256: d2809988bc89e8a632444bdcb3430eb947433282fa100210257d654514607ca9
Contents?: true
Size: 280 Bytes
Versions: 6
Compression:
Stored size: 280 Bytes
Contents
# frozen_string_literal: true module ViewComponent module WithContentHelper def with_content(value) if value.nil? raise ArgumentError.new("No content provided.") else @_content_set_by_with_content = value end self end end end
Version data entries
6 entries across 6 versions & 1 rubygems