Class: Basher::UI::LoadingView
- Defined in:
- lib/basher/ui/loading_view.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Attributes inherited from BaseView
Instance Method Summary collapse
Methods inherited from BaseView
#clear, #initialize, #resize_and_reposition, #will_resize!
Constructor Details
This class inherits a constructor from Basher::UI::BaseView
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text.
4 5 6 |
# File 'lib/basher/ui/loading_view.rb', line 4 def text @text end |
Instance Method Details
#setup ⇒ Object
6 7 8 |
# File 'lib/basher/ui/loading_view.rb', line 6 def setup puts text, h: :center, v: :center end |