Sha256: ef3fa7e6f1d111c6c80d15ca0c641708872daed62236bb961f549503398e255b

Contents?: true

Size: 433 Bytes

Versions: 2

Compression:

Stored size: 433 Bytes

Contents

module Vedeu

  # Allows the storing of keymaps.
  class Keymaps < Repository

    class << self

      # @return [Vedeu::Keymaps]
      def keymaps
        @keymaps ||= reset!
      end
      alias_method :repository, :keymaps

      # Remove all stored models from the repository.
      #
      # @return [Vedeu::Keymaps]
      def reset!
        @keymaps = register(Vedeu::Keymap)
      end

    end

  end # Keymaps

end # Vedeu

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vedeu-0.4.25 lib/vedeu/repositories/repositories/keymaps.rb
vedeu-0.4.24 lib/vedeu/repositories/repositories/keymaps.rb