class A9n::YamlLoader
Public Class Methods
load(file_path)
click to toggle source
# File lib/a9n/yaml_loader.rb, line 3 def self.load(file_path) kwargs = RUBY_VERSION >= '3.1.0' ? { aliases: true } : {} YAML.load(ERB.new(File.read(file_path)).result, **kwargs) end