Method: Html2rss::CLI#auto
- Defined in:
- lib/html2rss/cli.rb
#auto(url) ⇒ Object
40 41 42 43 44 |
# File 'lib/html2rss/cli.rb', line 40 def auto(url) strategy = .fetch(:strategy) { RequestService.default_strategy_name }.to_sym puts Html2rss.auto_source(url, strategy:) end |