Module: LittleWeasel::Modules::DictionaryKeyable
- Includes:
- DictionaryKeyValidatable
- Included in:
- Dictionary, LittleWeasel::Metadata::InvalidWordsMetadata, DictionaryCacheServicable, DictionaryCreatorServicable, DictionaryLoaderServicable, DictionaryMetadataServicable, Services::DictionaryCacheService, Services::DictionaryCreatorService, Services::DictionaryFileLoaderService, Services::DictionaryKillerService, Services::DictionaryLoaderService, Services::DictionaryMetadataService
- Defined in:
- lib/LittleWeasel/modules/dictionary_keyable.rb
Overview
This module defines attributes and functionality for a dictionary key. A dictionary key is a unique key (basically a locale and optional tag suffix) that is used to link a dictionary to the dictionary cache and dictionary metadata objects.
Instance Attribute Summary collapse
-
#dictionary_key ⇒ Object
Returns the value of attribute dictionary_key.
Method Summary
Methods included from DictionaryKeyValidatable
validate, #validate_dictionary_key
Instance Attribute Details
#dictionary_key ⇒ Object
Returns the value of attribute dictionary_key.
15 16 17 |
# File 'lib/LittleWeasel/modules/dictionary_keyable.rb', line 15 def dictionary_key @dictionary_key end |