# File lib/plugins/hatena_keyword_haiku.rb, line 28 def self.generate(*args) args = [5,7,5] if args.empty? args.map{ |len| words[len.to_i].choice rescue raise "No word which length is #{len}" }.map{ |w| w.word }.join(' ') end