Runtime assertions for Ruby literal.fun
ruby
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update README.md

authored by

Joel Drapper and committed by
GitHub
8b908b67 a4394ef2

+2 -2
+2 -2
README.md
··· 66 66 `Literal::Value` is like a `Literal::Data`, but specifically designed to enrich a single value. You could wrap a `String` as an `EmailAddress` or an `Integer` as a `UserId`. 67 67 68 68 ```ruby 69 - EmailAddress = Literal::Value.define(String) 70 - UserID = Literal::Value.define(Integer) 69 + EmailAddress = Literal::Value(String) 70 + UserID = Literal::Value(Integer) 71 71 ``` 72 72 73 73 We can create a new `UserID` like this: