Class: Actions::Pulp::Repository::Presenters::PuppetPresenter
- Inherits:
-
AbstractSyncPresenter
- Object
- Helpers::Presenter::Base
- AbstractSyncPresenter
- Actions::Pulp::Repository::Presenters::PuppetPresenter
- Defined in:
- app/lib/actions/pulp/repository/presenters/puppet_presenter.rb
Instance Attribute Summary
Attributes inherited from Helpers::Presenter::Base
Instance Method Summary collapse
Methods inherited from AbstractSyncPresenter
Methods inherited from Helpers::Presenter::Base
#humanized_output, #initialize
Constructor Details
This class inherits a constructor from Actions::Helpers::Presenter::Base
Instance Method Details
#progress ⇒ Object
6 7 8 |
# File 'app/lib/actions/pulp/repository/presenters/puppet_presenter.rb', line 6 def progress total_count == 0 ? 0 : finished_count.to_f / total_count end |