To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorContracts-ruby
contracts.ruby brings code contracts to the Ruby language.
Example:
class Example
include Contracts::Core
C = Contracts
Contract C::Num, C::Num => C::Num
def add(a, b)
a + b
end
end
This documentation is open source. If you find it incomplete or confusing, please submit an issue, or, better yet, a pull request.
Topics
Last published about 7 years ago by waterlink.