mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Use getter! macro
This commit is contained in:
parent
aee5897922
commit
ccedcdac42
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ module Spectator
|
||||||
# Location of the expectation in source code.
|
# Location of the expectation in source code.
|
||||||
# This can be nil if the location isn't capturable,
|
# This can be nil if the location isn't capturable,
|
||||||
# for instance using the *should* syntax or dynamically created expectations.
|
# for instance using the *should* syntax or dynamically created expectations.
|
||||||
getter location : Location?
|
getter! location : Location
|
||||||
|
|
||||||
# Indicates whether the expectation was met.
|
# Indicates whether the expectation was met.
|
||||||
def satisfied?
|
def satisfied?
|
||||||
|
|
Loading…
Reference in a new issue