Sha256: 8be8de779e0776228ffa533598b258b5bc8f7acf144750f0d9a0da8beeb72cc9

Contents?: true

Size: 647 Bytes

Versions: 20

Compression:

Stored size: 647 Bytes

Contents

# Author::    Eric Crane  (mailto:eric.crane@mac.com)
# Copyright:: Copyright (c) 2019 Eric Crane.  All rights reserved.
#
# Mode the Application is running in.
#

module Gloo
  module App
    class Mode

      EMBED = :embed      # Run as embedded script processor
      CLI = :cli          # Run in interactive (CLI) mode
      SCRIPT = :script    # Run a script
      VERSION = :version  # Show version information
      HELP = :help        # Show the help screen
      TEST = :test        # Running in Unit Test mode.

      #
      # Get the default mode.
      #
      def self.default_mode
        return EMBED
      end

    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
gloo-2.5.0 lib/gloo/app/mode.rb
gloo-2.4.3 lib/gloo/app/mode.rb
gloo-2.4.2 lib/gloo/app/mode.rb
gloo-2.4.1 lib/gloo/app/mode.rb
gloo-2.4.0 lib/gloo/app/mode.rb
gloo-2.3.1 lib/gloo/app/mode.rb
gloo-2.2.0 lib/gloo/app/mode.rb
gloo-2.1.0 lib/gloo/app/mode.rb
gloo-2.0.2 lib/gloo/app/mode.rb
gloo-2.0.1 lib/gloo/app/mode.rb
gloo-2.0.0 lib/gloo/app/mode.rb
gloo-0.8.0 lib/gloo/app/mode.rb
gloo-0.7.7 lib/gloo/app/mode.rb
gloo-0.7.6 lib/gloo/app/mode.rb
gloo-0.7.5 lib/gloo/app/mode.rb
gloo-0.7.4 lib/gloo/app/mode.rb
gloo-0.7.3 lib/gloo/app/mode.rb
gloo-0.7.2 lib/gloo/app/mode.rb
gloo-0.7.1 lib/gloo/app/mode.rb
gloo-0.7.0 lib/gloo/app/mode.rb