lib/yard/spellcheck/checker.rb in yard-spellcheck-0.1.3 vs lib/yard/spellcheck/checker.rb in yard-spellcheck-0.1.4
- old
+ new
@@ -51,10 +51,10 @@
@lang = options.fetch(:lang,FFI::Hunspell.lang)
@ignore = Set[]
@added = Set[]
if options[:ignore]
- @ignored += options[:add]
+ @ignore += options[:ignore]
end
if options[:add]
@added += options[:add]
end