module QuickShoulda::ConfigFileReader
Public Class Methods
config_file_exist?()
click to toggle source
# File lib/quick_shoulda/config_file_reader.rb, line 10 def config_file_exist? File.file?(config_file_name) end
read()
click to toggle source
# File lib/quick_shoulda/config_file_reader.rb, line 6 def read YAML.load(File.open(config_file_name)) end
Private Class Methods
config_file_name()
click to toggle source
# File lib/quick_shoulda/config_file_reader.rb, line 15 def config_file_name './.qshoulda.yml' end