Class: MiniTest::Chain::AssertionChain
- Inherits:
-
Object
- Object
- MiniTest::Chain::AssertionChain
- Defined in:
- lib/minitest-chain.rb
Instance Attribute Summary collapse
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
-
#subject ⇒ Object
readonly
Returns the value of attribute subject.
Instance Method Summary collapse
-
#initialize(scope, subject) ⇒ AssertionChain
constructor
A new instance of AssertionChain.
Constructor Details
#initialize(scope, subject) ⇒ AssertionChain
7 8 9 10 |
# File 'lib/minitest-chain.rb', line 7 def initialize(scope, subject) @scope = scope @subject = subject end |
Instance Attribute Details
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
5 6 7 |
# File 'lib/minitest-chain.rb', line 5 def scope @scope end |
#subject ⇒ Object (readonly)
Returns the value of attribute subject.
5 6 7 |
# File 'lib/minitest-chain.rb', line 5 def subject @subject end |