class Kabal::Config::YamlLoader
Public Class Methods
gem_root()
click to toggle source
# File lib/kabal/config/yaml_loader.rb, line 6 def self.gem_root Gem::Specification.find_by_name('kabal').gem_dir end
yaml_object(filename)
click to toggle source
# File lib/kabal/config/yaml_loader.rb, line 10 def self.yaml_object(filename) YAML.load_file(gem_root + '/yaml/' + filename + '.yml').with_indifferent_access end