Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [4] pry(#<Post>):1> nesting
- Nesting status:
- --
- 0. main (Pry top level)
- 1. #<Post>
- [5] pry(#<Post>):1> self.to_s
- => "#<Post:0x007fdb6eee4e58>"
- [6] pry(#<Post>):1> self.title = 'some new title'
- => "some new title"
- [7] pry(#<Post>):1> self.body = 'some new body'
- => "some new body"
- [8] pry(#<Post>):1> 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