Sha256: 457080e0fb4911e31680669d717b6da77bac66a35f727e0577af09cca0fc621b
Contents?: true
Size: 484 Bytes
Versions: 15
Compression:
Stored size: 484 Bytes
Contents
module Lono::Configset::Strategy::Helpers::Dsl module Core def content_file(path) content_path = "#{@root}/lib/content" file = "#{content_path}/#{path}" if File.exist?(file) IO.read(file) else "File not found: #{file}" end end def s3_key(name) Lono::Configset::S3File::Registry.register(name, blueprint: @blueprint, configset: @configset, root: @root) "file://configset/#{@configset}/#{name}" end end end
Version data entries
15 entries across 15 versions & 1 rubygems