Class: Kotoshu::Readers::PassthroughConditionChecker

Inherits:
ConditionChecker show all
Defined in:
lib/kotoshu/readers/condition_checker.rb

Overview

Passthrough condition checker that always returns true.

Used for scripts where Hunspell conditions don’t apply or aren’t supported.

Instance Method Summary collapse

Methods inherited from ConditionChecker

compile

Instance Method Details

#matches?(stem) ⇒ Boolean

Returns:

  • (Boolean)


47
48
49
# File 'lib/kotoshu/readers/condition_checker.rb', line 47

def matches?(stem)
  true
end