Sha256: 55c64cf28ae984ed94f2f72dd64e1cd4ae183e1c751dc165364347085d0ff39a

Contents?: true

Size: 1.01 KB

Versions: 10

Compression:

Stored size: 1.01 KB

Contents

module Vedeu

  module API

    # Provides a set of helpful API methods to return information about various
    # registered subsystems.
    #
    # @api public
    module Defined

      extend self

      # Returns all events currently registered with Vedeu.
      #
      # @return [Array]
      def events
        Vedeu::Events.registered
      end

      # Returns all groups currently registered with Vedeu.
      #
      # @return [Array]
      def groups
        Vedeu::Groups.registered
      end

      # Returns all interfaces currently registered with Vedeu.
      #
      # @return [Array]
      def interfaces
        Vedeu::Interfaces.registered
      end

      # Returns the names of all keymaps currently registered with Vedeu.
      #
      # @return [Array]
      def keymaps
        Vedeu::Keymaps.registered
      end

      # Returns all menus currently registered with Vedeu.
      #
      # @return [Array]
      def menus
        Vedeu::Menus.registered
      end

    end # Defined

  end # API

end # Vedeu

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
vedeu-0.2.12 lib/vedeu/api/defined.rb
vedeu-0.2.11 lib/vedeu/api/defined.rb
vedeu-0.2.10 lib/vedeu/api/defined.rb
vedeu-0.2.9 lib/vedeu/api/defined.rb
vedeu-0.2.8 lib/vedeu/api/defined.rb
vedeu-0.2.7 lib/vedeu/api/defined.rb
vedeu-0.2.6 lib/vedeu/api/defined.rb
vedeu-0.2.5 lib/vedeu/api/defined.rb
vedeu-0.2.4 lib/vedeu/api/defined.rb
vedeu-0.2.3 lib/vedeu/api/defined.rb