Sha256: 4585ad04373bd999457e8d9bcb787a0f42aa90e045189cb5f1e1c0ef1d09d828
Contents?: true
Size: 404 Bytes
Versions: 14
Compression:
Stored size: 404 Bytes
Contents
# Extension of USPSFlags::Config to allow including custom burgee files. # # @private class USPSFlags::Config attr_accessor :burgees_dir def initialize get_defaults get_extension_defaults yield self if block_given? end private def get_extension_defaults @burgees_dir ||= defined?(::Rails) ? "#{::Rails.root}/app/lib/usps-burgees" : "#{File.dirname(__dir__)}/output" end end
Version data entries
14 entries across 14 versions & 1 rubygems