class Ant::Configuration::Loaders::YAML

Class for loading yaml files

Public Class Methods

new(path, manager) click to toggle source
# File lib/ant/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/ant/configs/loaders/yaml.rb, line 16
def load!
  ::YAML.load_file(@path)
end