Class: Basher::UI::LoadingView

Inherits:
BaseView
  • Object
show all
Defined in:
lib/basher/ui/loading_view.rb

Instance Attribute Summary collapse

Attributes inherited from BaseView

#should_redraw

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

#textObject

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

#setupObject



6
7
8
# File 'lib/basher/ui/loading_view.rb', line 6

def setup
  puts text, h: :center, v: :center
end