Permalink
Browse files

Add some clarity to code example in README

  • Loading branch information...
1 parent 5f0f3bd commit bdda1de2858736d3ea13bba81d9f8b5ff068e7c6 @benkirzhner benkirzhner committed Jun 11, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 README.md
View
@@ -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).

0 comments on commit bdda1de

Please sign in to comment.