Module: QuickShoulda::ConfigFileReader
- Defined in:
- lib/quick_shoulda/config_file_reader.rb
Class Method Summary collapse
Class Method Details
.config_file_exist? ⇒ Boolean
10 11 12 |
# File 'lib/quick_shoulda/config_file_reader.rb', line 10 def config_file_exist? File.file?(config_file_name) end |
.read ⇒ Object
6 7 8 |
# File 'lib/quick_shoulda/config_file_reader.rb', line 6 def read YAML.load(File.open(config_file_name)) end |