Skip to content

Instantly share code, notes, and snippets.

@eraserhd
Created June 24, 2020 16:36
Show Gist options
  • Save eraserhd/1c529fc96f76e72b472f2a7dff305dbc to your computer and use it in GitHub Desktop.
Save eraserhd/1c529fc96f76e72b472f2a7dff305dbc to your computer and use it in GitHub Desktop.
irb(main):001:0> class Foo
irb(main):002:1> class Bar
irb(main):003:2> end
irb(main):004:1> end
=> nil
irb(main):005:0> Foo::Bar.new.kind_of?(Foo)
=> false
irb(main):006:0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment