Sha256: 3667214702967952ed24db7026e79070dbde8f49af704518bbe98e51c565c023
Contents?: true
Size: 351 Bytes
Versions: 1
Compression:
Stored size: 351 Bytes
Contents
# frozen_string_literal: true module Anyway module Rails module Loaders class YAML < Anyway::Loaders::YAML def parse_yml(*) super[::Rails.env] || {} end private def relative_config_path(path) Pathname.new(path).relative_path_from(::Rails.root) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
anyway_config-2.0.0.rc1 | lib/anyway/rails/loaders/yaml.rb |