Skip to content

Instantly share code, notes, and snippets.

@elia
Created January 23, 2017 22:31
Show Gist options
  • Save elia/ad02a7713706f6ba9fc7dd41a736d456 to your computer and use it in GitHub Desktop.
Save elia/ad02a7713706f6ba9fc7dd41a736d456 to your computer and use it in GitHub Desktop.
class Bar
end
module Foo
class Array < Bar
end
end
source 'https://rubygems.org'
gem "opal"
GEM
remote: https://rubygems.org/
specs:
concurrent-ruby (1.0.4)
hike (1.2.3)
opal (0.10.3)
hike (~> 1.2)
sourcemap (~> 0.1.0)
sprockets (~> 3.1)
tilt (>= 1.4)
rack (2.0.1)
sourcemap (0.1.1)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
tilt (2.0.5)
PLATFORMS
ruby
DEPENDENCIES
opal
BUNDLED WITH
1.13.7
module Foo
autoload :Array, 'foo'
end
puts Foo::Array.superclass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment