Module: YAML
- Defined in:
- lib/bashly/extensions/yaml.rb
Class Method Summary collapse
Class Method Details
.load_erb_file(path) โ Object
[View source]
11 12 13 |
# File 'lib/bashly/extensions/yaml.rb', line 11 def load_erb_file(path) YAML.load ERB.new(File.read(path)).result end |