Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options = Hash.new
- Options['args'] = Hash.new
- Options['args']['id'] = nil
- MoreOptions = Hash.new
- MoreOptions['args'] = Hash.new
- MoreOptions['args']['id'] = Options['args']['id']
- Options['args']['id'] = 12345
- puts MoreOptions['args']['id']
- # expect to print 12345 but instead prints nil
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement