Skip to content

Instantly share code, notes, and snippets.

@rafbm
Created May 20, 2014 20:01
Show Gist options
  • Save rafbm/1169f733270e0eefb7e4 to your computer and use it in GitHub Desktop.
Save rafbm/1169f733270e0eefb7e4 to your computer and use it in GitHub Desktop.
if Array < Object
puts 'Cool, “<” can be used to test class inheritance.'
end
if Object > Array
puts 'Cool, works the other way too.'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment