Sha256: 0c4969c761be63cb4a32d884d94e5de0f34381a15e2e08081c5980d5ff53ae3f
Contents?: true
Size: 346 Bytes
Versions: 18
Compression:
Stored size: 346 Bytes
Contents
# frozen_string_literal: true require 'yaml' module DiscourseApi class ExampleHelper def self.load_yml config_yml = File.expand_path('../../../config.yml', __FILE__) puts config_yml begin config = YAML.load_file config_yml rescue Errno::ENOENT config = {} end config end end end
Version data entries
18 entries across 18 versions & 1 rubygems