module WaxTasks
Constants
- DEFAULT_CONFIG_FILE
- Derivative
- VERSION
Public Class Methods
config_from_file(file = nil)
click to toggle source
# File lib/wax_tasks.rb, line 32 def self.config_from_file(file = nil) Utils.validate_yaml(file || DEFAULT_CONFIG_FILE) rescue StandardError => e raise WaxTasks::Error::InvalidConfig, "Cannot open config file '#{file}'.\n #{e}" end