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
- .new(output) ⇒ OutputWrapper constructor Internal use only
Instance Attribute Summary
- #output rw Internal use only
Instance Method Summary
- #method_missing(name, *args, &block) Internal use only
- #respond_to?(name, priv = false) ⇒ Boolean Internal use only
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
# File 'rspec-core/lib/rspec/core/output_wrapper.rb', line 13
def respond_to?(name, priv=false) output.respond_to?(name, priv) end