Sha256: 2aa104117363ae9228fef48563c8f851d646040509b26fd19586b76838d96792

Contents?: true

Size: 651 Bytes

Versions: 29

Compression:

Stored size: 651 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 GlooLang
  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

29 entries across 29 versions & 1 rubygems

Version Path
gloo-lang-1.4.3 lib/gloo_lang/app/mode.rb
gloo-lang-1.4.2 lib/gloo_lang/app/mode.rb
gloo-lang-1.4.1 lib/gloo_lang/app/mode.rb
gloo-lang-1.4.0 lib/gloo_lang/app/mode.rb
gloo-lang-1.3.2 lib/gloo_lang/app/mode.rb
gloo-lang-1.3.1 lib/gloo_lang/app/mode.rb
gloo-lang-1.3.0 lib/gloo_lang/app/mode.rb
gloo-lang-1.2.8 lib/gloo_lang/app/mode.rb
gloo-lang-1.2.7 lib/gloo_lang/app/mode.rb
gloo-lang-1.2.6 lib/gloo_lang/app/mode.rb
gloo-lang-1.2.5 lib/gloo_lang/app/mode.rb
gloo-lang-1.2.4 lib/gloo_lang/app/mode.rb
gloo-lang-1.2.3 lib/gloo_lang/app/mode.rb
gloo-lang-1.2.2 lib/gloo_lang/app/mode.rb
gloo-lang-1.2.1 lib/gloo_lang/app/mode.rb
gloo-lang-1.2.0 lib/gloo_lang/app/mode.rb
gloo-lang-1.1.0 lib/gloo_lang/app/mode.rb
gloo-lang-1.0.2 lib/gloo_lang/app/mode.rb
gloo-lang-1.0.1 lib/gloo_lang/app/mode.rb
gloo-lang-1.0.0 lib/gloo_lang/app/mode.rb