Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add some clarity to code example in README

  • Loading branch information...
commit bdda1de2858736d3ea13bba81d9f8b5ff068e7c6 1 parent 5f0f3bd
@benkirzhner benkirzhner authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 README.md
View
5 README.md
@@ -54,8 +54,9 @@ Point = Value.new(:x, :y) do
end
end
-Point.new(1, 2).to_s
-#=> "<Point at (1, 2)>"
+p = Point.new(1, 2)
+p.to_s
+# => "<Point at (1, 2)>"
```
Values does NOT have all the features of Struct (nor is it meant to).
Please sign in to comment.
Something went wrong with that request. Please try again.