module SpellerYandex::Data

Constants

DATA_URL

Public Class Methods

import(text) click to toggle source
# File lib/speller_yandex/data.rb, line 6
def self.import text
  data_url_acii = URI.encode(DATA_URL + text)
  wrong_words = open data_url_acii
  wrong_words.read
end