diff options
author | Michael Bleigh <michael@intridea.com> | 2009-11-12 10:06:13 -0500 |
---|---|---|
committer | Michael Bleigh <michael@intridea.com> | 2009-11-12 10:06:13 -0500 |
commit | 5f16ba8f33f582d73137f91aaa41d9d646efdece (patch) | |
tree | 3e3b78b8ce6488e6d33095be6597a0f060f33229 /README.rdoc | |
parent | 9a4c4d9fb455fccfd32f1ccaab4f42558593ebf2 (diff) | |
download | hashie-5f16ba8f33f582d73137f91aaa41d9d646efdece.tar.gz |
Updates README
Diffstat (limited to 'README.rdoc')
-rw-r--r-- | README.rdoc | 4 |
1 files changed, 4 insertions, 0 deletions
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 |