123456789_123456789_123456789_123456789_123456789_

Class: RSpec::Matchers::BuiltIn::CapturedStream Private

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, StringIO
Instance Chain:
self, StringIO
Inherits: StringIO
  • Object
Defined in: rspec-expectations/lib/rspec/matchers/built_in/output.rb

Instance Attribute Summary

Instance Attribute Details

#as_tty (rw)

[ GitHub ]

  
# File 'rspec-expectations/lib/rspec/matchers/built_in/output.rb', line 161

attr_accessor :as_tty

#tty?Boolean (readonly)

[ GitHub ]

  
# File 'rspec-expectations/lib/rspec/matchers/built_in/output.rb', line 163

def tty?
  return super if as_tty.nil?
  as_tty
end