Class: Katello::RelationPresenter

Inherits:
Object
  • Object
show all
Defined in:
app/presenters/katello/relation_presenter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#relationObject

Returns the value of attribute relation.



3
4
5
# File 'app/presenters/katello/relation_presenter.rb', line 3

def relation
  @relation
end