Sha256: 2e6c24a5831ca1d3efcb5313153713e25d0fb6884985fd680599bf94e8440ac9
Contents?: true
Size: 446 Bytes
Versions: 2
Compression:
Stored size: 446 Bytes
Contents
module Locomotive module Steam module Adapters module Filesystem module YAMLLoaders class Site include Adapters::Filesystem::YAMLLoader def load(scope) attributes = _load(File.join(site_path, 'config', 'site.yml')) (attributes[:domains] ||= []) << 'localhost' [attributes] end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems