Sha256: dfefefeed2bf916ca58ed1ac99faa6e62093b88773959623b7fbc4a09ef9815e
Contents?: true
Size: 535 Bytes
Versions: 64
Compression:
Stored size: 535 Bytes
Contents
# frozen_string_literal: true require 'view_component' class Proscenium::ViewComponent < ViewComponent::Base extend ActiveSupport::Autoload autoload :Sideload autoload :ReactComponent autoload :CssModules include Proscenium::SourcePath include CssModules module Sideload def before_render Proscenium::SideLoad.sideload_inheritance_chain self super end end class << self attr_accessor :abstract_class def inherited(child) child.prepend Sideload super end end end
Version data entries
64 entries across 64 versions & 1 rubygems