Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ***Output 4. Run > nesting again***
- [4] pry(#<Post>):1> nesting
- Nesting status:
- --
- 0. main (Pry top level)
- 1. #<Post>
- ***Output 5. self.to_s***
- => "#<Post:0x000000036b6108>"
- ***Output 6. self.title = 'some new title'***
- => "some new title"
- ***Output 7 self.body = 'some new body'***
- => "some new body"
- ***Output 8 self.changes***
- => {"title"=>["First Post", "some new title"], "body"=>["This is the first post in our system", "some new body"]}
Add Comment
Please, Sign In to add comment