Sha256: c4d729bddab71d6bfcd1b1e2ceaab9f0eb5f11dcef05a249c78e41715e997c28

Contents?: true

Size: 696 Bytes

Versions: 14

Compression:

Stored size: 696 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
      APP = :app          # Running in APP mode.
      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

14 entries across 14 versions & 1 rubygems

Version Path
gloo-3.8.0 lib/gloo/app/mode.rb
gloo-3.7.0 lib/gloo/app/mode.rb
gloo-3.6.2 lib/gloo/app/mode.rb
gloo-3.6.1 lib/gloo/app/mode.rb
gloo-3.6.0 lib/gloo/app/mode.rb
gloo-3.5.0 lib/gloo/app/mode.rb
gloo-3.4.1 lib/gloo/app/mode.rb
gloo-3.4.0 lib/gloo/app/mode.rb
gloo-3.3.0 lib/gloo/app/mode.rb
gloo-3.2.0 lib/gloo/app/mode.rb
gloo-3.1.1 lib/gloo/app/mode.rb
gloo-3.1.0 lib/gloo/app/mode.rb
gloo-3.0.1 lib/gloo/app/mode.rb
gloo-3.0.0 lib/gloo/app/mode.rb