Sha256: 28aaa2e8548b6f86fbfd966a122091aa699d6c5f0006bb3800c1095609cb232b
Contents?: true
Size: 438 Bytes
Versions: 12
Compression:
Stored size: 438 Bytes
Contents
# frozen_string_literal: true require "pakyow/support/extension" module Pakyow module Presenter # @api private module Renderable extend Support::Extension prepend_methods do def initialize(*args) @rendered = false super end end def rendered @rendered = true halt end def rendered? @rendered == true end end end end
Version data entries
12 entries across 12 versions & 1 rubygems