lib/werd/reports/basic.rb in werd-0.0.1 vs lib/werd/reports/basic.rb in werd-0.0.2
- old
+ new
@@ -2,10 +2,10 @@
module Reports
class Basic
include Contracts
attr_reader :words
- Contract ArrayOf[[String, Num]] => Any
+ Contract WordList => Any
def initialize words
@words = words.first(30)
end
Contract None => String