egonSchiele/contracts.ruby
View on GitHub ↗ ★ 1,457 Ruby
Contracts for Ruby.
14 mentions on Hacker News by 10 people: 3 stories, 11 comments · first 2012-06-11 · latest 2024-10-04
20082026
-
…the idea because backwards compatibility? I think the closest gem that achieves this is contracts. https://github.com/egonSchiele/contracts.ruby?tab=readme-ov-...
comment by Alifatisk · 2024-10-04 · in Ask HN: Is Ruby/RoR Dead? -
…core. I think a more defined process would mean a better future for Ruby and Ruby developers. - [1] https://github.com/egonschiele/contracts.ruby - [2] https://github.com/DefinitelyTyped/DefinitelyTyped
comment by egonschiele · 2023-05-05 · in A few words on Ruby's type annotations state -
I've used contracts any time this type of thing was necessary. https://github.com/egonSchiele/contracts.ruby
comment by poorman · 2019-06-20 · in Open-sourcing Sorbet: a fast, powerful type checker for Ruby -
…popular and mature library that I am surprised nobody has mentioned yet named 'Contracts.ruby' https://github.com/egonSchiele/contracts.ruby This syntax is also more appealing to my eyes than what rdl provides. Contract Num => Num def…
comment by Dangeranger · 2016-08-08 · in RDL: a lightweight system for adding contracts to Ruby -
Not sure if this will do, but there's Contracts for Ruby: https://github.com/egonSchiele/contracts.ruby
comment by mendelk · 2016-06-06 · in Flow vs. Typescript -
This already exists in a relatively mature form: https://github.com/egonSchiele/contracts.ruby
comment by moe · 2015-04-09 · in Gradual type checking for Ruby -
This is very similar to contracts.ruby, which is cool. I'd love for more contract discussions. https://github.com/egonSchiele/contracts.ruby
comment by JoelMcCracken · 2015-04-09 · in Gradual type checking for Ruby -
…understand why it is useful. If it's something that interests you, I'd love some help! The project: https://github.com/egonSchiele/contracts.ruby
comment by egonschiele · 2015-04-02 · in Ask HN: How do technical non-developers help with open source projects? -
If, like me, you were wondering how contracts.ruby works, the comments in here are quite instructive: https://github.com/egonSchiele/contracts.ruby/blob/master/li...
comment by bshimmin · 2015-03-07 · in My Weird Ruby -
Have you looked contracts.ruby ( https://github.com/egonSchiele/contracts.ruby )? I'm sure you could overlap some code
comment by alexatkeplar · 2014-07-23 · in Transit – A format for conveying values between different languages -
▲ 2
Gradual type checking in Rubystory by egonschiele · 2014-05-07 · 0 comments
-
…type-checking to Ruby code. After looking at these I implemented a contracts library for Ruby ( https://github.com/egonSchiele/contracts.ruby ) to get myself some better dynamic checking. The next step is to use the annotations for the…
comment by egonschiele · 2012-09-19 · in John Carmack on Static Code Analysis -
▲ 2
Clean, beautiful code contracts in Ruby with contracts.rubystory by egonschiele · 2012-07-02 · 0 comments
-
▲ 2
Contracts for Rubystory by amalag · 2012-06-11 · 0 comments