Object
# File lib/plugins/yhara.rb, line 19 def initialize(name) @name = name end
# File lib/plugins/yhara.rb, line 23 def talk(context) n = 7 words = (0..rand(n)).map { ]y hara].choice }. inject {|r, e| r + (rand < 0.97 ? ' ' : ', ') + e } eos = %(? ? . . . . . . . . !).choice [Remark.new(self,words, eos)] end
# File lib/plugins/yhara.rb, line 31 def voice(context = nil) @name end
[Validate]
Generated with the Darkfish Rdoc Generator 2.