Module: Sesc

Defined in:
lib/sesc.rb,
lib/sesc/cli.rb,
lib/sesc/cities.rb,
lib/sesc/config.rb,
lib/sesc/crawler.rb,
lib/sesc/version.rb,
lib/sesc/cities/sp.rb,
lib/sesc/cli/filter.rb,
lib/sesc/cli/options.rb,
lib/sesc/exporter/help.rb,
lib/sesc/parser/sp/body.rb,
lib/sesc/exporter/events.rb,
lib/sesc/exporter/places.rb,
lib/sesc/exporter/painter.rb,
lib/sesc/exporter/printer.rb,
lib/sesc/parser/sp/events.rb

Defined Under Namespace

Modules: Parser, Version Classes: Cities, Cli, Config, Crawler, Exporter

Class Method Summary collapse

Class Method Details

.crawler_sesc(number, places) ⇒ Object



31
32
33
# File 'lib/sesc.rb', line 31

def self.crawler_sesc(number, places)
  Sesc::Crawler.new(number, places).get
end

.sp(number, places) ⇒ Object



25
26
27
# File 'lib/sesc.rb', line 25

def self.sp(number, places)
  Sesc::Cities::Sp.new(crawler_sesc(number, places)).print_on_terminal
end