Last active
July 3, 2017 21:35
-
-
Save Groogy/6813436be6b20cd1992c869096b60b66 to your computer and use it in GitHub Desktop.
This file contains hidden or 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( some_other_test ) # Run at entry of every contract | |
# First argument run at function start, second argument run at function end | |
contract baz == true, @thing.nil? == false, | |
def bar(val) | |
@thing = val.do_thing | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment