123456789_123456789_123456789_123456789_123456789_

Class: RSpec::Core::OutputWrapper Private

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: rspec-core/lib/rspec/core/output_wrapper.rb

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args, &block)

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/output_wrapper.rb', line 17

def method_missing(name, *args, &block)
  output.__send__(name, *args, &block)
end

Instance Attribute Details

#output (rw)

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/output_wrapper.rb', line 6

attr_accessor :output

Instance Method Details

#respond_to?(name, priv = false) ⇒ Boolean

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/output_wrapper.rb', line 13

def respond_to?(name, priv=false)
  output.respond_to?(name, priv)
end