Sha256: 756fed7308344a4cd7faddc5398e5868a1510651526e7ea970cebf0e814db434
Contents?: true
Size: 372 Bytes
Versions: 5
Compression:
Stored size: 372 Bytes
Contents
# frozen_string_literal: true module Geoserver module Publish def config @config ||= config_yaml end private def config_yaml file_path = File.join(Geoserver::Publish.root, "config", "config.yml") YAML.safe_load(ERB.new(File.read(file_path)).result, [], [], true) end module_function :config, :config_yaml end end
Version data entries
5 entries across 5 versions & 1 rubygems