class TauYandexSpeller::NetManager
Public Class Methods
load_correct_words(text)
click to toggle source
# File lib/tau_yandex_speller/Manager/net_manager.rb, line 9 def self.load_correct_words text data_url = "#{URL_API}#{text.to_uri}" data = "" open(data_url.force_encoding('ASCII-8BIT')).each_line { |e| data += e } data end