Class: MiniTest::Chain::AssertionChain

Inherits:
Object
  • Object
show all
Defined in:
lib/minitest-chain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#scopeObject (readonly)

Returns the value of attribute scope.



5
6
7
# File 'lib/minitest-chain.rb', line 5

def scope
  @scope
end

#subjectObject (readonly)

Returns the value of attribute subject.



5
6
7
# File 'lib/minitest-chain.rb', line 5

def subject
  @subject
end