Class: RSpecLive::WatcherDisplay
- Inherits:
-
Object
- Object
- RSpecLive::WatcherDisplay
- Defined in:
- lib/rspec-live/display.rb
Instance Method Summary collapse
-
#initialize(section) ⇒ WatcherDisplay
constructor
A new instance of WatcherDisplay.
- #status=(status) ⇒ Object
Constructor Details
#initialize(section) ⇒ WatcherDisplay
Returns a new instance of WatcherDisplay.
22 23 24 |
# File 'lib/rspec-live/display.rb', line 22 def initialize(section) @section = section end |
Instance Method Details
#status=(status) ⇒ Object
26 27 28 29 |
# File 'lib/rspec-live/display.rb', line 26 def status=(status) @section.content = "RSpec summary for #{File.basename Dir.pwd} (#{status})" @section.refresh end |