Class: Katello::ProductHostCountPresenter
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Katello::ProductHostCountPresenter
- Defined in:
- app/presenters/katello/product_host_count_presenter.rb
Instance Attribute Summary collapse
-
#product_host_count ⇒ Object
readonly
Returns the value of attribute product_host_count.
Instance Method Summary collapse
-
#initialize(pool) ⇒ ProductHostCountPresenter
constructor
A new instance of ProductHostCountPresenter.
Constructor Details
#initialize(pool) ⇒ ProductHostCountPresenter
Returns a new instance of ProductHostCountPresenter.
5 6 7 8 |
# File 'app/presenters/katello/product_host_count_presenter.rb', line 5 def initialize(pool) @product_host_count = pool.product_host_count super(pool) end |
Instance Attribute Details
#product_host_count ⇒ Object (readonly)
Returns the value of attribute product_host_count.
3 4 5 |
# File 'app/presenters/katello/product_host_count_presenter.rb', line 3 def product_host_count @product_host_count end |