Class: RSpec::Core::Invocations::PrintHelp Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Struct
|
|
Instance Chain:
self,
Struct
|
|
Inherits: |
Struct
|
Defined in: | rspec-core/lib/rspec/core/invocations.rb |
Instance Attribute Summary
- #hidden_options rw Internal use only
- #parser rw Internal use only
Instance Method Summary
- #call(_options, _err, out) Internal use only
Instance Attribute Details
#parser (rw)
[ GitHub ]# File 'rspec-core/lib/rspec/core/invocations.rb', line 78
PrintHelp = Struct.new(:parser, : )
Instance Method Details
#call(_options, _err, out)
[ GitHub ]# File 'rspec-core/lib/rspec/core/invocations.rb', line 79
def call(, _err, out) # Removing the hidden options from the output. out.puts parser.to_s.gsub(/^\s+(#{ .join('|')})\b.*$\n/, '') 0 end