Class: Mutiny::Tests::Test
- Inherits:
-
Object
- Object
- Mutiny::Tests::Test
- Defined in:
- lib/mutiny/tests/test.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#expression ⇒ Object
readonly
Returns the value of attribute expression.
-
#location ⇒ Object
readonly
Returns the value of attribute location.
Instance Method Summary collapse
-
#initialize(location: nil, expression:) ⇒ Test
constructor
A new instance of Test.
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
#expression ⇒ Object (readonly)
Returns the value of attribute expression.
4 5 6 |
# File 'lib/mutiny/tests/test.rb', line 4 def expression @expression end |
#location ⇒ Object (readonly)
Returns the value of attribute location.
4 5 6 |
# File 'lib/mutiny/tests/test.rb', line 4 def location @location end |