Last active
August 29, 2015 14:12
-
-
Save kwstannard/57a4c2fb844e775df12a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Common | |
module Client | |
module FaradayConnection | |
end | |
end | |
end | |
module Pullson | |
module Client | |
include Common::Client | |
puts constants.inspect | |
puts FaradayConnection.inspect | |
class Foo | |
puts constants.inspect | |
puts FaradayConnection.inspect rescue puts 'cant find class' | |
end | |
module FaradayConnection; end | |
puts constants.inspect | |
puts FaradayConnection.inspect | |
class Foo | |
puts constants.inspect | |
puts FaradayConnection.inspect rescue puts 'cant find class' | |
end | |
end | |
end | |
[:FaradayConnection] | |
Common::Client::FaradayConnection | |
[] | |
cant find class | |
[:Foo, :FaradayConnection] | |
Pullson::Client::FaradayConnection | |
[] | |
Pullson::Client::FaradayConnection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment