Skip to content

Instantly share code, notes, and snippets.

@leifg
Created December 13, 2019 01:45
Show Gist options
  • Save leifg/823d85faaaf86b74a410cd473a51c82d to your computer and use it in GitHub Desktop.
Save leifg/823d85faaaf86b74a410cd473a51c82d to your computer and use it in GitHub Desktop.
Weird behaviour with Simple Delegator
d = SimpleDelegator.new(nil)
d.nil?
# false
d == nil
# true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment