Sha256: 061d6e30a182268f6b3295354aedf4e6b062c84997ef47901a9f7385242e83b9

Contents?: true

Size: 631 Bytes

Versions: 8

Compression:

Stored size: 631 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

8 entries across 8 versions & 1 rubygems

Version Path
gloo-0.6.1 lib/gloo/app/mode.rb
gloo-0.6.0 lib/gloo/app/mode.rb
gloo-0.5.4 lib/gloo/app/mode.rb
gloo-0.5.3 lib/gloo/app/mode.rb
gloo-0.5.2 lib/gloo/app/mode.rb
gloo-0.5.1 lib/gloo/app/mode.rb
gloo-0.5.0 lib/gloo/app/mode.rb
gloo-0.4.0 lib/gloo/app/mode.rb