Sha256: c5c79cf1beb99e02b72c36eafbbf261277dd99678e97ce8547194d72d9ea1fb4
Contents?: true
Size: 453 Bytes
Versions: 16
Compression:
Stored size: 453 Bytes
Contents
# frozen_string_literal: true # @api private # @since 0.1.0 module SmartCore::Initializer::DSL::Inheritance class << self # @param base [Class] # @param child [Class] # @return [void] # # @api private # @since 0.1.0 def inherit(base:, child:) child.__params__.concat(base.__params__) child.__options__.concat(base.__options__) child.__init_extensions__.concat(base.__init_extensions__) end end end
Version data entries
16 entries across 16 versions & 1 rubygems