Class: CW
- Inherits:
-
CWG::CwDsl
- Object
- CWG::CwDsl
- CW
- Defined in:
- /Users/martyn/cw/cw_clone/lib/cw.rb
Overview
CW provides Morse code generation functionality Inherits CwDsl
Constant Summary
Constant Summary
Constants inherited from CWG::CwDsl
CWG::CwDsl::ABBREVIATIONS, CWG::CwDsl::COMMON_WORDS, CWG::CwDsl::HERE, CWG::CwDsl::MOST_COMMON_WORDS, CWG::CwDsl::Q_CODES, CWG::CwDsl::TEXT
Constants included from CWG::Cfg
CWG::Cfg::CONFIG_METHODS, CWG::Cfg::HERE
Instance Attribute Summary
Attributes inherited from CWG::CwDsl
Instance Method Summary (collapse)
-
- (CW) initialize(&block)
constructor
Initialize CW class.
Methods inherited from CWG::CwDsl
#alpha, #alphabet, #beginning_with, #containing, #convert_book, #double_words, #ending_with, #including, #letters_numbers, #list, #load_abbreviations, #load_alphabet, #load_codes, #load_common_words, #load_consonants, #load_most_common_words, #load_numbers, #load_text, #load_vowels, #load_words, #no_longer_than, #no_noise, #no_run, #no_shorter_than, #noise, #numbers, #numbers_spoken, #print_letters, #random_letters, #random_letters_numbers, #random_numbers, #read_book, #read_rss, #repeat, #repeat_word, #reveal, #reverse, #run, #run_default, #sending_practice, #shuffle, #test_letters, #test_words, #to_s, #use_ebook2cw, #use_ruby_tone, #vowels, #word_count, #word_size, #word_spacing, #words, #words=
Methods included from CWG::Cfg
Constructor Details
- (CW) initialize(&block)
Initialize CW class. Eval block if passed in.
53 54 55 56 57 |
# File '/Users/martyn/cw/cw_clone/lib/cw.rb', line 53 def initialize(&block) super instance_eval(&block) if block run if block end |