Class: Tr3llo::Presenter::Card::ShowPresenter
- Inherits:
-
Object
- Object
- Tr3llo::Presenter::Card::ShowPresenter
- Defined in:
- lib/3llo/presenter/card/show.rb
Instance Method Summary collapse
-
#initialize(interface) ⇒ ShowPresenter
constructor
A new instance of ShowPresenter.
- #print!(card) ⇒ Object
Constructor Details
#initialize(interface) ⇒ ShowPresenter
Returns a new instance of ShowPresenter.
5 6 7 |
# File 'lib/3llo/presenter/card/show.rb', line 5 def initialize(interface) @interface = interface end |
Instance Method Details
#print!(card) ⇒ Object
9 10 11 |
# File 'lib/3llo/presenter/card/show.rb', line 9 def print!(card) interface.print_frame { present_card(card) } end |