Skip to content

Instantly share code, notes, and snippets.

@rafaelss
Created March 29, 2016 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafaelss/4a8eb5602698bae46e6ad4587a0a20ea to your computer and use it in GitHub Desktop.
Save rafaelss/4a8eb5602698bae46e6ad4587a0a20ea to your computer and use it in GitHub Desktop.
class A
B = ["c"].freeze
def d
B.include?("c")
end
end
class A
def b
["c"].freeze.include?("c")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment