From 5f16ba8f33f582d73137f91aaa41d9d646efdece Mon Sep 17 00:00:00 2001 From: Michael Bleigh Date: Thu, 12 Nov 2009 10:06:13 -0500 Subject: Updates README --- README.rdoc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.rdoc') diff --git a/README.rdoc b/README.rdoc index 3b07d55..2fdf033 100644 --- a/README.rdoc +++ b/README.rdoc @@ -58,6 +58,10 @@ can set defaults for each property. p.email # => 'abc@def.com' p[:awesome] # => NoMethodError p[:occupation] # => 'Rubyist' + + p = Person.new(:name => "Bob") + p.name # => 'Bob' + p.occupation # => 'Rubyist' == Note on Patches/Pull Requests -- cgit v1.2.1