Class: Emojidex::Extended
- Inherits:
-
Collection
- Object
- Collection
- Emojidex::Extended
- Defined in:
- lib/emojidex/extended.rb
Overview
listing and search of extended emoji from the emojidex set
Instance Attribute Summary
Attributes inherited from Collection
#categories, #emoji, #raster_source_path, #source_path, #vector_source_path
Attributes included from CollectionCache
Instance Method Summary collapse
-
#initialize ⇒ Extended
constructor
A new instance of Extended.
Methods inherited from Collection
#add_emoji, #category, #category?, #collect, #each, #find_by_code, #find_by_code_ja, #find_by_moji, #load_local_collection, #map, #search, #select
Methods included from CollectionAssetInformation
#generate_checksums, #generate_paths, #get_checksums, #get_paths
Methods included from CollectionCache
#cache!, #cache_index, #setup_cache, #write_index
Constructor Details
#initialize ⇒ Extended
Returns a new instance of Extended.
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/emojidex/extended.rb', line 6 def initialize super if defined? Emojidex::Vectors @vector_source_path = Emojidex::Vectors.path + '/extended/' load_local_collection @vector_source_path end if defined? Emojidex::Rasters @raster_source_path = Emojidex::Rasters.path + '/extended/' load_local_collection @raster_source_path end # TODO: load from service end |