Class: Mutiny::Tests::Test

Inherits:
Object
  • Object
show all
Defined in:
lib/mutiny/tests/test.rb

Direct Known Subclasses

Integration::RSpec::Test

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(location: nil, expression:) ⇒ Test

Returns a new instance of Test.



6
7
8
9
# File 'lib/mutiny/tests/test.rb', line 6

def initialize(location: nil, expression:)
  @location = location
  @expression = expression
end

Instance Attribute Details

#expressionObject (readonly)

Returns the value of attribute expression.



4
5
6
# File 'lib/mutiny/tests/test.rb', line 4

def expression
  @expression
end

#locationObject (readonly)

Returns the value of attribute location.



4
5
6
# File 'lib/mutiny/tests/test.rb', line 4

def location
  @location
end