class Dude::Config
Constants
- FILE_NAME
Public Class Methods
configure_with(path_to_yaml_file)
click to toggle source
Configure through yaml file
# File lib/dude/config.rb, line 8 def self.configure_with(path_to_yaml_file) YAML.safe_load(IO.read(path_to_yaml_file), [Symbol]) rescue StandardError {} end
style_prompt(text)
click to toggle source
# File lib/dude/config.rb, line 14 def self.style_prompt(text) "#{'=>'.green.bold} #{text}" end