class WRKFLO::Profile
Public Class Methods
load(source)
click to toggle source
# File lib/wrkflo/profile.rb, line 3 def self.load source @projects = YAML.load_file(source) @options = @projects.delete("options") rescue Notifier.error_out("Could not load configuration at '#{source}'.", type: "ConfigurationError") end
options()
click to toggle source
# File lib/wrkflo/profile.rb, line 11 def self.options; @options; end
projects()
click to toggle source
# File lib/wrkflo/profile.rb, line 10 def self.projects; @projects; end