Sha256: 8d5edc80c223280de10c3334136ddd4c1a576db0a10411e244fb788ac1721927
Contents?: true
Size: 1.18 KB
Versions: 4
Compression:
Stored size: 1.18 KB
Contents
module AutomateIt # :nodoc: # === AutomateIt::Constants # # Various constants. module AutomateIt::Constants INSTALL_DIR = File.expand_path(File.join(File.dirname(__FILE__), "..", "..")) HELPERS_DIR = File.join(INSTALL_DIR, "helpers") # 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 = <<-HERE # +---------------------------------------------------------------------+ # | 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. | # +---------------------------------------------------------------------+ # HERE end # Inject constants back into top, providing AutomateIt::VERSION and such. module_eval { include Constants } end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
automate-it-0.9.2 | lib/automateit/constants.rb |
automate-it-0.9.1 | lib/automateit/constants.rb |
automate-it-0.9.0 | lib/automateit/constants.rb |
automateit-0.80624 | lib/automateit/constants.rb |