Class: UnicodeUtils::Impl::FinalSigmaConditionalCasing

Inherits:
ConditionalCasing show all
Defined in:
lib/unicode_utils/conditional_casing.rb

Instance Attribute Summary

Attributes inherited from ConditionalCasing

#mapping

Instance Method Summary collapse

Methods inherited from ConditionalCasing

#initialize

Constructor Details

This class inherits a constructor from UnicodeUtils::Impl::ConditionalCasing

Instance Method Details

#context_match?(str, pos) ⇒ Boolean

Returns:

  • (Boolean)


95
96
97
# File 'lib/unicode_utils/conditional_casing.rb', line 95

def context_match?(str, pos)
  before_match?(str, pos) && !after_match?(str, pos)
end