Class: Confmake::PropertyFileVariableReader

Inherits:
Object
  • Object
show all
Defined in:
lib/confmake/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/confmake/property_reader.rb', line 2

def self.read_variables_from_file file_path
  contents = File.read file_path
  self.parse_file_contents contents
end