Class: Anaximander::CLI
- Inherits:
-
Object
- Object
- Anaximander::CLI
- Defined in:
- lib/anaximander/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(url) ⇒ CLI
constructor
A new instance of CLI.
- #start ⇒ Object
Constructor Details
Class Method Details
.start ⇒ Object
3 4 5 |
# File 'lib/anaximander/cli.rb', line 3 def self.start new(ARGV[0]).start end |
Instance Method Details
#start ⇒ Object
12 13 14 15 |
# File 'lib/anaximander/cli.rb', line 12 def start @crawler.crawl @renderer.draw(@crawler.root) end |