Sha256: c4995347973317bb3cf3961d98571dbfb2ea0f057908de5d78e02ef60decee4b

Contents?: true

Size: 832 Bytes

Versions: 20

Compression:

Stored size: 832 Bytes

Contents

# Author::    Eric Crane  (mailto:eric.crane@mac.com)
# Copyright:: Copyright (c) 2022 Eric Crane.  All rights reserved.
#
# Reload all files.
#

module Gloo
  module Verbs
    class Reload < Gloo::Core::Verb

      KEYWORD = 'reload'.freeze
      KEYWORD_SHORT = 'r!'.freeze

      #
      # Run the verb.
      #
      def run
        @engine.persist_man.reload_all
      end

      #
      # Get the Verb's keyword.
      #
      def self.keyword
        return KEYWORD
      end

      #
      # Get the Verb's keyword shortcut.
      #
      def self.keyword_shortcut
        return KEYWORD_SHORT
      end

      # ---------------------------------------------------------------------
      #    Private functions
      # ---------------------------------------------------------------------

      private

    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
gloo-3.5.0 lib/gloo/verbs/reload.rb
gloo-3.4.1 lib/gloo/verbs/reload.rb
gloo-3.4.0 lib/gloo/verbs/reload.rb
gloo-3.3.0 lib/gloo/verbs/reload.rb
gloo-3.2.0 lib/gloo/verbs/reload.rb
gloo-3.1.1 lib/gloo/verbs/reload.rb
gloo-3.1.0 lib/gloo/verbs/reload.rb
gloo-3.0.1 lib/gloo/verbs/reload.rb
gloo-3.0.0 lib/gloo/verbs/reload.rb
gloo-2.5.0 lib/gloo/verbs/reload.rb
gloo-2.4.3 lib/gloo/verbs/reload.rb
gloo-2.4.2 lib/gloo/verbs/reload.rb
gloo-2.4.1 lib/gloo/verbs/reload.rb
gloo-2.4.0 lib/gloo/verbs/reload.rb
gloo-2.3.1 lib/gloo/verbs/reload.rb
gloo-2.2.0 lib/gloo/verbs/reload.rb
gloo-2.1.0 lib/gloo/verbs/reload.rb
gloo-2.0.2 lib/gloo/verbs/reload.rb
gloo-2.0.1 lib/gloo/verbs/reload.rb
gloo-2.0.0 lib/gloo/verbs/reload.rb