module Cagnut

Attributes

environment[W]

Public Class Methods

environment() click to toggle source
# File lib/cagnut.rb, line 27
def environment
  @environment ||= 'development'
end
load_config(config_name, config_options) click to toggle source
# File lib/cagnut.rb, line 31
def load_config config_name, config_options
  Cagnut::Configuration.config = Cagnut::Configuration.load_config config_name, config_options
end
prefix_name() click to toggle source

Job names can contain up to 4094 characters.

# File lib/cagnut.rb, line 23
def prefix_name
  "CAGNUT_#{Time.now.strftime('%Y%m%d%H%M%S')}"
end
root() click to toggle source
# File lib/cagnut.rb, line 18
def root
  ::Pathname.new File.expand_path '../..', __FILE__
end