Classes: Comic
"1.0.0"
{}
10 11 12
# File 'lib/curse.rb', line 10 def self.language=(handle) @@active = @@curses[handle] end
6 7 8
# File 'lib/curse.rb', line 6 def self.register(handle, klass) @@curses[handle] = klass.new end
20 21 22
# File 'lib/curse.rb', line 20 def adverbs rand(4).times.map { @@active.adverb } end
14 15 16 17 18
# File 'lib/curse.rb', line 14 def curses rand(4).times.map do @@active.curse end.join(' ') + '!' end