Module: Card::Set::Abstract::LocalManifestGroup
- Extended by:
- Card::Set
- Defined in:
- platypus/tmp/set/gem-defaults/mod018-assets/abstract/local_manifest_group.rb
Overview
Set: Abstract (LocalManifestGroup)
Constant Summary
Constants included from Helpers
Helpers::SET_PATTERN_TEST_REGEXP
Constants included from Event::Api
Class Method Summary collapse
Instance Method Summary collapse
-
#base_path ⇒ Object
-
#item_name_to_path(name) ⇒ Object
-
#minimize? ⇒ Boolean
-
#paths ⇒ Object
-
#relative_paths ⇒ Object
Methods included from Card::Set
Methods included from I18nScope
Methods included from Registrar
#extended, #finalize_load, #process_base_modules, #register_set
Methods included from Helpers
#format_module, #format_modules, #method_missing, #modules, #pattern_code, #respond_to_missing?, #set_name_parts, #shortname, #underscored_name
Methods included from Card::Set::AdvancedApi
#assign_type, #attachment, #define_set_from_error, #ensure_set, #setting_opts, #stage_method
Methods included from Format
#before, #format, layout_method_name, #view, view_method_name, view_setting_method_name, wrapper_method_name
Methods included from Inheritance
#include_set, #include_set_formats
Methods included from Trait
#card_accessor, #card_reader, #card_writer, #require_field
Methods included from Event::Api
Class Method Details
.source_location ⇒ Object
7 |
# File 'platypus/tmp/set/gem-defaults/mod018-assets/abstract/local_manifest_group.rb', line 7 def self.source_location; "/Users/ethan/dev/decko/gem/mod/assets/set/abstract/local_manifest_group.rb"; end |
Instance Method Details
#base_path ⇒ Object
30 31 32 |
# File 'platypus/tmp/set/gem-defaults/mod018-assets/abstract/local_manifest_group.rb', line 30 def base_path left&.assets_path end |
#item_name_to_path(name) ⇒ Object
22 23 24 |
# File 'platypus/tmp/set/gem-defaults/mod018-assets/abstract/local_manifest_group.rb', line 22 def item_name_to_path name ::File.join base_path, name end |
#minimize? ⇒ Boolean
26 27 28 |
# File 'platypus/tmp/set/gem-defaults/mod018-assets/abstract/local_manifest_group.rb', line 26 def minimize? left.manifest_group_minimize? group_name end |
#paths ⇒ Object
10 11 12 13 14 |
# File 'platypus/tmp/set/gem-defaults/mod018-assets/abstract/local_manifest_group.rb', line 10 def paths return [] unless left relative_paths.map { |path| ::File.join(base_path, path) } || [] end |
#relative_paths ⇒ Object
16 17 18 19 20 |
# File 'platypus/tmp/set/gem-defaults/mod018-assets/abstract/local_manifest_group.rb', line 16 def relative_paths return [] unless left left.manifest_group_items group_name end |