Module: NHKore

Defined in:
lib/nhkore.rb,
lib/nhkore/app.rb,
lib/nhkore/lib.rb,
lib/nhkore/defn.rb,
lib/nhkore/dict.rb,
lib/nhkore/news.rb,
lib/nhkore/util.rb,
lib/nhkore/word.rb,
lib/nhkore/entry.rb,
lib/nhkore/error.rb,
lib/nhkore/sifter.rb,
lib/nhkore/article.rb,
lib/nhkore/cleaner.rb,
lib/nhkore/scraper.rb,
lib/nhkore/version.rb,
lib/nhkore/fileable.rb,
lib/nhkore/polisher.rb,
lib/nhkore/splitter.rb,
lib/nhkore/variator.rb,
lib/nhkore/missingno.rb,
lib/nhkore/cli/fx_cmd.rb,
lib/nhkore/cli/get_cmd.rb,
lib/nhkore/search_link.rb,
lib/nhkore/user_agents.rb,
lib/nhkore/cli/news_cmd.rb,
lib/nhkore/cli/sift_cmd.rb,
lib/nhkore/dict_scraper.rb,
lib/nhkore/cli/search_cmd.rb,
lib/nhkore/search_scraper.rb,
lib/nhkore/article_scraper.rb,
lib/nhkore/datetime_parser.rb

Defined Under Namespace

Modules: CLI, CriColorExt, Fileable, Lib, Util Classes: App, Article, ArticleScraper, BasicCleaner, BasicPolisher, BasicSplitter, BasicVariator, BestCleaner, BestPolisher, BestSplitter, BestVariator, BimyouSplitter, BingScraper, CLIError, Cleaner, DatetimeParser, Defn, Dict, DictFormVariator, DictScraper, Entry, Error, FutsuuNews, Http404Error, Missingno, News, NextPage, NoProgressBar, ParseError, Polisher, ScrapeError, ScrapeWordsResult, Scraper, SearchLink, SearchLinks, SearchScraper, Sifter, Splitter, TinySplitter, UserAgents, Variator, Word, YasashiiNews, ZipError

Constant Summary collapse

VERSION =
'0.3.17'

Class Method Summary collapse

Class Method Details

.run(args = ARGV) ⇒ Object



30
31
32
33
34
35
36
37
38
39
# File 'lib/nhkore.rb', line 30

def self.run(args=ARGV)
  app = App.new(args)

  begin
    app.run
  rescue CLIError => e
    puts "Error: #{e}"
    exit 1
  end
end