lib/raingrams/hexagram_model.rb in raingrams-0.0.9 vs lib/raingrams/hexagram_model.rb in raingrams-0.1.0

- old
+ new

@@ -1,13 +1,9 @@ -require 'raingrams/multigram_model' +require 'raingrams/model' module Raingrams - class HexagramModel < MultigramModel + class HexagramModel < Model - def initialize(opts={},&block) - opts[:ngram_size] = 6 - - super(opts,&block) - end + ngram_size 6 end end