Sha256: 807507190b01e7da85292ee37ece9c3a34ed0befc70116869b100153fb8c9315
Contents?: true
Size: 396 Bytes
Versions: 7
Compression:
Stored size: 396 Bytes
Contents
# frozen_string_literal: true require "pakyow/support/extension" module Pakyow module Behavior module Plugins extend Support::Extension apply_extension do class_state :plugins, default: {} end class_methods do def register_plugin(plugin_name, plugin_module) @plugins[plugin_name] = plugin_module end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems