Class: Tr3llo::Presenter::HelpPresenter
- Inherits:
-
Object
- Object
- Tr3llo::Presenter::HelpPresenter
- Defined in:
- lib/3llo/presenter/help.rb
Instance Method Summary collapse
-
#initialize(interface) ⇒ HelpPresenter
constructor
A new instance of HelpPresenter.
- #print! ⇒ Object
Constructor Details
#initialize(interface) ⇒ HelpPresenter
Returns a new instance of HelpPresenter.
4 5 6 |
# File 'lib/3llo/presenter/help.rb', line 4 def initialize(interface) @interface = interface end |
Instance Method Details
#print! ⇒ Object
8 9 10 11 12 |
# File 'lib/3llo/presenter/help.rb', line 8 def print! interface.print_frame do interface.puts end end |