Class: QiitaExport::Exporter
- Inherits:
-
Object
- Object
- QiitaExport::Exporter
- Defined in:
- lib/qiita-export/exporter.rb
Instance Method Summary collapse
- #export ⇒ Object
-
#initialize ⇒ Exporter
constructor
A new instance of Exporter.
Constructor Details
#initialize ⇒ Exporter
Returns a new instance of Exporter.
6 7 |
# File 'lib/qiita-export/exporter.rb', line 6 def initialize end |
Instance Method Details
#export ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/qiita-export/exporter.rb', line 9 def export fetcher = create_fetcher articles = fetcher.find_articles if (Config.file_export?) export_file(articles) else export_console(articles) end end |