Module: EISCP::Dictionary

Extended by:
DictionaryGenerators, DictionaryHelpers
Defined in:
lib/eiscp/dictionary.rb,
lib/eiscp/dictionary/dictionary_helpers.rb,
lib/eiscp/dictionary/dictionary_generators.rb

Overview

This module provides an interface to the information from the yaml file. It uses DictionaryGenerators to add commands specified by ranges in the yaml file. It uses DictionaryHelpers to convert commands and values to and from their human readable form.

Defined Under Namespace

Modules: DictionaryGenerators, DictionaryHelpers

Constant Summary collapse

DEFAULT_ZONE =
'main'

Class Attribute Summary collapse

Method Summary

Methods included from DictionaryGenerators

create_balance_commands, create_range_commands, create_treble_bass_commands

Methods included from DictionaryHelpers

command_name_to_command, command_to_name, command_value_name_to_value, command_value_to_value_name, description_from_command, description_from_command_name, description_from_command_value, known_command?, list_compatible_commands, zone_from_command

Class Attribute Details

.commandsObject (readonly)

Returns the value of attribute commands.



17
18
19
# File 'lib/eiscp/dictionary.rb', line 17

def commands
  @commands
end

.modelsetsObject (readonly)

Returns the value of attribute modelsets.



17
18
19
# File 'lib/eiscp/dictionary.rb', line 17

def modelsets
  @modelsets
end

.zonesObject (readonly)

Returns the value of attribute zones.



17
18
19
# File 'lib/eiscp/dictionary.rb', line 17

def zones
  @zones
end