class Kybus::Configuration::Loaders::YAML
Class for loading yaml files
Public Class Methods
new(path, manager)
click to toggle source
# File lib/kybus/configs/loaders/yaml.rb, line 10 def initialize(path, manager) @path = path @manager = manager end
Public Instance Methods
load!()
click to toggle source
Parses and returns the file as a hash
# File lib/kybus/configs/loaders/yaml.rb, line 16 def load! ::YAML.load_file(@path) end