Class: Actions::Helpers::Presenter::Base
- Inherits:
-
Object
- Object
- Actions::Helpers::Presenter::Base
- Includes:
- Algebrick::TypeCheck
- Defined in:
- app/lib/actions/helpers/presenter.rb
Direct Known Subclasses
Delegated, Katello::ContentView::Presenters::IncrementalUpdatesPresenter, Pulp::Consumer::ContentPresenter, Pulp::Repository::Presenters::AbstractSyncPresenter
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
Instance Method Summary collapse
- #humanized_output ⇒ Object
-
#initialize(action) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(action) ⇒ Base
Returns a new instance of Base.
16 17 18 |
# File 'app/lib/actions/helpers/presenter.rb', line 16 def initialize(action) @action = action end |
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
14 15 16 |
# File 'app/lib/actions/helpers/presenter.rb', line 14 def action @action end |
Instance Method Details
#humanized_output ⇒ Object
20 21 22 |
# File 'app/lib/actions/helpers/presenter.rb', line 20 def humanized_output fail NotImplementedError end |