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