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

Version Path
card-mod-assets-0.18.1 set/abstract/folder_group.rb
card-mod-assets-0.18.0 set/abstract/folder_group.rb
card-mod-assets-0.17.0 set/abstract/folder_group.rb
card-mod-assets-0.16.0 set/abstract/folder_group.rb
card-mod-assets-0.15.6 set/abstract/folder_group.rb
card-mod-assets-0.15.5 set/abstract/folder_group.rb
card-mod-assets-0.15.4 set/abstract/folder_group.rb
card-mod-assets-0.15.3 set/abstract/folder_group.rb
card-mod-assets-0.15.2.pre1 set/abstract/folder_group.rb
card-mod-assets-0.15.1.1 set/abstract/folder_group.rb
card-mod-assets-0.15.1 set/abstract/folder_group.rb
card-mod-assets-0.15.0 set/abstract/folder_group.rb
card-mod-assets-0.14.2 set/abstract/folder_group.rb
card-mod-assets-0.14.1 set/abstract/folder_group.rb
card-mod-assets-0.14.0 set/abstract/folder_group.rb