Sha256: 4c82697be6eaa1f1bfcab22db7fdd752102f7cd3ce941fadd4f33327cbc61448
Contents?: true
Size: 431 Bytes
Versions: 15
Compression:
Stored size: 431 Bytes
Contents
attr_accessor :assets_path attr_accessor :group_name def paths return [] unless (path = assets_path) relative_paths.map { |child| ::File.join path, child } end def relative_paths return [] unless (path = assets_path) Dir.chdir(path) { Dir.glob(search_path).sort } end def search_path File.join "**", "*.{#{valid_file_extensions.join(',')}}" end def base_path assets_path end def minimize? @minimize = true end
Version data entries
15 entries across 15 versions & 1 rubygems