Sha256: 7e4d82ac281de868005dbd4608514e26e021a22c6e6606dc059f884fa9c1bf64

Contents?: true

Size: 553 Bytes

Versions: 7

Compression:

Stored size: 553 Bytes

Contents

# frozen_string_literal: true

module Qonfig
  module Plugins
    # @api private
    # @since 0.4.0
    module AccessMixin
      # @param plugin_name [Symbol, String]
      # @return [void]
      #
      # @see Qonfig::Plugins
      #
      # @api public
      # @since 0.4.0
      def plugin(plugin_name)
        Qonfig::Plugins.load(plugin_name)
      end

      # @return [Array<String>]
      #
      # @see Qonfig::Plugins
      #
      # @api public
      # @since 0.4.0
      def plugins
        Qonfig::Plugins.names
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
qonfig-0.10.0 lib/qonfig/plugins/access_mixin.rb
qonfig-0.9.0 lib/qonfig/plugins/access_mixin.rb
qonfig-0.8.0 lib/qonfig/plugins/access_mixin.rb
qonfig-0.7.0 lib/qonfig/plugins/access_mixin.rb
qonfig-0.6.0 lib/qonfig/plugins/access_mixin.rb
qonfig-0.5.0 lib/qonfig/plugins/access_mixin.rb
qonfig-0.4.0 lib/qonfig/plugins/access_mixin.rb