Module: TextStat

Defined in:
lib/textstat/version.rb,
lib/textstat/main.rb,
lib/textstat/basic_stats.rb,
lib/textstat/dictionary_manager.rb,
lib/textstat/readability_formulas.rb

Overview

TextStat version information

This module defines the current version of the TextStat gem. The version follows Semantic Versioning (semver.org).

Author:

  • Jakub Polak

Since:

  • 0.1.0

Defined Under Namespace

Modules: BasicStats, DictionaryManager, ReadabilityFormulas Classes: Main

Constant Summary collapse

GEM_PATH =

Path to the TextStat gem installation directory

This constant is used internally to locate dictionary files and other gem resources. It points to the root directory of the installed gem.

Examples:

TextStat::GEM_PATH  # => \"/path/to/gems/textstat-1.0.0\"

Returns:

  • (String)

    absolute path to gem root directory

File.dirname(File.dirname(File.dirname(__FILE__)))
VERSION =

Current version of the TextStat gem

Version 1.0.1 includes performance optimizations and bug fixes

  • Optimized dictionary caching with lazy loading

  • Improved text_standard performance

  • Reduced memory allocations

  • Code quality improvements (Rubocop compliance)

Examples:

TextStat::VERSION  # => "1.0.1"

Returns:

  • (String)

    current version string

Since:

  • 0.1.0

'1.0.1'.freeze