From af86d2c7bac06078e15f4567ec0f627ea668c4b5 Mon Sep 17 00:00:00 2001 From: Filip Bartuzi Date: Tue, 17 Nov 2015 01:18:47 +0000 Subject: [PATCH] :tada: :three::two: :birthday: Happy birthday @solnic --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 67cbf14e..be6300df 100644 --- a/README.md +++ b/README.md @@ -58,12 +58,12 @@ class User attribute :birthday, DateTime end -user = User.new(:name => 'Piotr', :age => 31) -user.attributes # => { :name => "Piotr", :age => 31 } +user = User.new(:name => 'Piotr', :age => 32) +user.attributes # => { :name => "Piotr", :age => 32 } user.name # => "Piotr" -user.age = '31' # => 31 +user.age = '32' # => 32 user.age.class # => Fixnum user.birthday = 'November 18th, 1983' # => #