Sha256: 14149b7c3c00ea23dbfd8f0ef28a726c689eafea401ec8968d361e60cd8501aa
Contents?: true
Size: 485 Bytes
Versions: 4
Compression:
Stored size: 485 Bytes
Contents
# frozen_string_literal: true require 'active_support/concern' module Cornucopia module SitePrism module SectionExtensions extend ActiveSupport::Concern included do |base| base.class_exec do alias :__cornucopia_site_prism_orig_initialize :initialize def initialize(*args) __cornucopia_site_prism_orig_initialize(*args) self.owner_node = args[0].owner_node end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems