Class: Vizier::NullPresenter
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Vizier::NullPresenter
- Defined in:
- lib/vizier/null_presenter.rb
Overview
Simple pass-through presenter that serves as a default.
We may want to use something other than ‘.new` so this can actually return the object rather than a new instance of itself.
Instance Method Summary collapse
-
#initialize(object) ⇒ NullPresenter
constructor
A new instance of NullPresenter.
Constructor Details
#initialize(object) ⇒ NullPresenter
Returns a new instance of NullPresenter.
10 11 12 |
# File 'lib/vizier/null_presenter.rb', line 10 def initialize(object, *) __setobj__ object end |