Class: Werd::Commands::Report
- Inherits:
-
Escort::ActionCommand::Base
- Object
- Escort::ActionCommand::Base
- Werd::Commands::Report
- Defined in:
- lib/werd/commands/report.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/werd/commands/report.rb', line 4 def execute token = [:token] project_id = [:project] words = ProjectWordCounter.new(token, project_id).words words = PosFilter.filter(words) puts Reports::Basic.new(words).to_s end |