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

Overview

Author:

  • Jonathan Bradley Whited

Since:

  • 0.1.0

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, Missingno, News, NextPage, NoProgressBar, ParseError, Polisher, ScrapeError, ScrapeWordsResult, Scraper, SearchLink, SearchLinks, SearchScraper, Sifter, Splitter, TinySplitter, UserAgents, Variator, Word, YasashiiNews, ZipError

Constant Summary collapse

VERSION =

Since:

  • 0.1.0

'0.3.14'

Class Method Summary collapse

Class Method Details

.run(args = ARGV) ⇒ Object

Since:

  • 0.2.0



35
36
37
38
39
40
41
42
43
44
# File 'lib/nhkore.rb', line 35

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

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