Top Level Namespace
Defined Under Namespace
Modules: CWG, Process
Classes: CW, TestCW, TestCWStream, TestCommonWords, TestConfig, TestCurrentWord, TestCwStream, TestStr, TestTester, TestTiming
Instance Method Summary
(collapse)
Instance Method Details
- (Object) cw(&block)
40
41
42
43
44
|
# File '/Users/martyn/cw/cw_clone/lib/cw.rb', line 40
def cw &block
CW.new do
instance_eval &block
end
end
|
- (Object) cw_settings
42
43
44
45
46
47
48
49
50
51
52
|
# File '/Users/martyn/cw/cw_clone/example.rb', line 42
def cw_settings
shuffle
wpm 20
ewpm 15
use_ruby_tone
word_count 5
word_size 4
print_letters
puts self.to_s
end
|