Class: RSpecLive::Display
- Inherits:
-
Object
- Object
- RSpecLive::Display
- Defined in:
- lib/rspec-live/display.rb
Instance Attribute Summary collapse
-
#suite_display ⇒ Object
readonly
Returns the value of attribute suite_display.
-
#watcher_display ⇒ Object
readonly
Returns the value of attribute watcher_display.
Instance Method Summary collapse
-
#initialize ⇒ Display
constructor
A new instance of Display.
Constructor Details
#initialize ⇒ Display
Returns a new instance of Display.
7 8 9 10 11 12 |
# File 'lib/rspec-live/display.rb', line 7 def initialize @terminal = Terminal.new @watcher_display = WatcherDisplay.new(@terminal.add_section :xalign => :center) @terminal.add_section :display => :block, :content => key_command_info, :color => :blue @suite_display = SuiteDisplay.new(@terminal.add_section :display => :block) end |
Instance Attribute Details
#suite_display ⇒ Object (readonly)
Returns the value of attribute suite_display.
5 6 7 |
# File 'lib/rspec-live/display.rb', line 5 def suite_display @suite_display end |
#watcher_display ⇒ Object (readonly)
Returns the value of attribute watcher_display.
5 6 7 |
# File 'lib/rspec-live/display.rb', line 5 def watcher_display @watcher_display end |