Sha256: fec3b475ec6181fa97bf4737a7bbcc6e7586e450b34fc909dd71c9dd0599a5e2
Contents?: true
Size: 320 Bytes
Versions: 25
Compression:
Stored size: 320 Bytes
Contents
module Gumdrop module Utils def self.content_hash(base_path) Hash.new do |hash, key| templates= Dir["#{base_path}#{key}*"] if templates.length > 0 Content.new( templates[0] ) else puts "NOT FOUND: #{key}" nil end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems