Class: Confswap::PropertyFileVariableReader
- Inherits:
-
Object
- Object
- Confswap::PropertyFileVariableReader
- Defined in:
- lib/confswap/property_reader.rb
Defined Under Namespace
Classes: InvalidPropertyFileException
Class Method Summary collapse
Class Method Details
.read_variables_from_file(file_path) ⇒ Object
2 3 4 5 |
# File 'lib/confswap/property_reader.rb', line 2 def self.read_variables_from_file file_path contents = File.read file_path self.parse_file_contents contents end |