Module: WordMix

Defined in:
lib/word_mix.rb,
lib/word_mix/railtie.rb,
lib/word_mix/version.rb

Defined Under Namespace

Classes: AmountError, Railtie

Constant Summary collapse

VERSION =
"0.1.2"

Class Method Summary collapse

Class Method Details

.initObject



10
11
12
13
14
15
16
17
18
19
# File 'lib/word_mix.rb', line 10

def self.init
  begin
    set_variables
    build_list
    mix_words
    complete
  rescue AmountError
    AmountError.too_small
  end   
end