Sha256: fcf0bcff54f657030f7444faa38507d84f2a5ee79389950ee405fc9ca5d20136
Contents?: true
Size: 511 Bytes
Versions: 5
Compression:
Stored size: 511 Bytes
Contents
# frozen_string_literal: true require "pakyow/support/extension" module Pakyow module Presenter class Renderer module Behavior module CleanupPrototypeNodes extend Support::Extension apply_extension do build do |view| unless Pakyow.env?(:prototype) view.object.each_significant_node(:prototype, descend: true).map(&:itself).each(&:remove) end end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems