Skip to content

Instantly share code, notes, and snippets.

@havenwood

havenwood/foo.rb Secret

Created March 25, 2020 15:42
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 havenwood/c41a709c1b5bc30b0cab563069f5ce4e to your computer and use it in GitHub Desktop.
Save havenwood/c41a709c1b5bc30b0cab563069f5ce4e to your computer and use it in GitHub Desktop.
class Foo < Struct.new(:foo)
end
#=> nil
class Foo < Struct.new(:foo)
end
#!> TypeError: superclass mismatch for class Foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment