-
-
Save Groogy/4f60b620407a072675d20d4b4da291c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo | |
invariant in_order? | |
def in_order? | |
@control_points.each.cons_pair.all? { |a, b| a.end_time < b.start_time } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment