Class: Duckface::RSpec::CheckSessionFailureFormatter
- Inherits:
-
Object
- Object
- Duckface::RSpec::CheckSessionFailureFormatter
- Defined in:
- lib/duckface/rspec.rb
Instance Method Summary collapse
-
#initialize(check_session) ⇒ CheckSessionFailureFormatter
constructor
A new instance of CheckSessionFailureFormatter.
- #message ⇒ Object
Constructor Details
#initialize(check_session) ⇒ CheckSessionFailureFormatter
Returns a new instance of CheckSessionFailureFormatter.
6 7 8 |
# File 'lib/duckface/rspec.rb', line 6 def initialize(check_session) @check_session = check_session end |
Instance Method Details
#message ⇒ Object
10 11 12 13 14 |
# File 'lib/duckface/rspec.rb', line 10 def return ' but it does not implement any interfaces' if @check_session.null? ":\n#{formatted_lines}" end |