lib/yaml_parse.rb in forj-0.0.19 vs lib/yaml_parse.rb in forj-0.0.20
- old
+ new
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby
+# encoding: UTF-8
# (c) Copyright 2014 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -14,10 +15,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
require 'yaml'
+#
+# YamlParse module
+#
module YamlParse
def get_values(path_to_yaml)
YAML.load_file(path_to_yaml)
end
-end
\ No newline at end of file
+end