Class: YardJunk::Logger::Spellcheck::SpellChecker
- Inherits:
-
Struct
- Object
- Struct
- YardJunk::Logger::Spellcheck::SpellChecker
- Includes:
- DidYouMean::SpellCheckable
- Defined in:
- lib/yard-junk/logger/spellcheck.rb
Overview
rubocop:disable Style/StructInheritance
Instance Attribute Summary collapse
-
#dictionary ⇒ Object
Returns the value of attribute dictionary.
-
#error ⇒ Object
Returns the value of attribute error.
Instance Method Summary collapse
Instance Attribute Details
#dictionary ⇒ Object
Returns the value of attribute dictionary
18 19 20 |
# File 'lib/yard-junk/logger/spellcheck.rb', line 18 def dictionary @dictionary end |
#error ⇒ Object
Returns the value of attribute error
18 19 20 |
# File 'lib/yard-junk/logger/spellcheck.rb', line 18 def error @error end |
Instance Method Details
#candidates ⇒ Object
21 22 23 |
# File 'lib/yard-junk/logger/spellcheck.rb', line 21 def candidates {error => dictionary} end |