Module: Yasc

Defined in:
lib/yasc/spelling_corrector.rb,
lib/yasc.rb,
lib/yasc/version.rb

Overview

require ‘open-uri’

Defined Under Namespace

Classes: SpellingCorrector

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.correct(word) ⇒ Object



5
6
7
# File 'lib/yasc.rb', line 5

def self.correct word
  SpellingCorrector.correct word
end