Sha256: de28bc6fb9cdd13578dc098eb657bb8a9aea8d4d69f55a5ae14ba64d9f96c202

Contents?: true

Size: 1.04 KB

Versions: 17

Compression:

Stored size: 1.04 KB

Contents

module AutomateIt # :nodoc:
  # === AutomateIt::Constants
  #
  # Various constants.
  module AutomateIt::Constants
    # Output prefix for command execution, e.g., "** ls -la"
    PEXEC = "** "

    # Output prefix for notes, e.g., "=> Something happened"
    PNOTE = "=> "

    # Output prefix for errors, e.g., "!! Something bad happened"
    PERROR = "!! "

    # Boilerplate to add to tops of generated files, warning people not to edit
    # them directly.
    WARNING_BOILERPLATE = "# +---------------------------------------------------------------------+
# | WARNING: Do NOT edit this file directly or your changes will be     |
# | lost. If you need to change this file, you must incorporate your    |
# | changes into the AutomateIt project that created it. If you don't   |
# | know what this means, please talk to your system administrator.     |
# +---------------------------------------------------------------------+
#
"
  end

  # Inject constants back into top, providing AutomateIt::VERSION and such.
  module_eval { include Constants }
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
automateit-0.71003 lib/automateit/constants.rb
automateit-0.70928 lib/automateit/constants.rb
automateit-0.70930 lib/automateit/constants.rb
automateit-0.71031.1 lib/automateit/constants.rb
automateit-0.71017 lib/automateit/constants.rb
automateit-0.71021 lib/automateit/constants.rb
automateit-0.71012 lib/automateit/constants.rb
automateit-0.71030 lib/automateit/constants.rb
automateit-0.71006 lib/automateit/constants.rb
automateit-0.71031.2 lib/automateit/constants.rb
automateit-0.71101 lib/automateit/constants.rb
automateit-0.71031 lib/automateit/constants.rb
automateit-0.71101.1 lib/automateit/constants.rb
automateit-0.71101.2 lib/automateit/constants.rb
automateit-0.71102 lib/automateit/constants.rb
automateit-0.71103 lib/automateit/constants.rb
automateit-0.71104 lib/automateit/constants.rb