Class: YardJunk::Logger::Spellcheck::SpellFinder

Inherits:
Struct
  • Object
show all
Includes:
DidYouMean::BaseFinder
Defined in:
lib/yard-junk/logger/spellcheck.rb

Overview

rubocop:disable Style/StructInheritance

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dictionaryObject

Returns the value of attribute dictionary

Returns:

  • (Object)

    the current value of dictionary



34
35
36
# File 'lib/yard-junk/logger/spellcheck.rb', line 34

def dictionary
  @dictionary
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



34
35
36
# File 'lib/yard-junk/logger/spellcheck.rb', line 34

def error
  @error
end

Instance Method Details

#searchesObject



37
38
39
# File 'lib/yard-junk/logger/spellcheck.rb', line 37

def searches
  {error => dictionary}
end