Class: RSpec::CapturingFormatter::CaptureManager::Lease
- Inherits:
-
Struct
- Object
- Struct
- RSpec::CapturingFormatter::CaptureManager::Lease
- Defined in:
- lib/rspec/capturing_formatter/stream_proxy.rb
Overview
Older supported Rubies need keyword_init: true to construct leases from keyword arguments. standard:disable Style/RedundantStructKeywordInit
Instance Attribute Summary collapse
-
#generation ⇒ Object
Returns the value of attribute generation.
-
#manager ⇒ Object
Returns the value of attribute manager.
-
#owner ⇒ Object
Returns the value of attribute owner.
Instance Method Summary collapse
-
#owner? ⇒ Boolean
standard:enable Style/RedundantStructKeywordInit.
Instance Attribute Details
#generation ⇒ Object
Returns the value of attribute generation
11 12 13 |
# File 'lib/rspec/capturing_formatter/stream_proxy.rb', line 11 def generation @generation end |
#manager ⇒ Object
Returns the value of attribute manager
11 12 13 |
# File 'lib/rspec/capturing_formatter/stream_proxy.rb', line 11 def manager @manager end |
#owner ⇒ Object
Returns the value of attribute owner
11 12 13 |
# File 'lib/rspec/capturing_formatter/stream_proxy.rb', line 11 def owner @owner end |
Instance Method Details
#owner? ⇒ Boolean
standard:enable Style/RedundantStructKeywordInit
13 14 15 |
# File 'lib/rspec/capturing_formatter/stream_proxy.rb', line 13 def owner? owner end |