We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is verbatim from @iliabylich on this pull request:
What do you expect from method namespace for classes with same name defined in different modules? For example: require 'snapi' module A class ClassName include Snapi::Capability end end p A::ClassName.namespace p Snapi.capabilities module B class ClassName include Snapi::Capability end end p B::ClassName.namespace p Snapi.capabilities Output: :class_name {:class_name=>A::ClassName} :class_name {:class_name=>B::ClassName} Looks like a bug.
What do you expect from method namespace for classes with same name defined in different modules?
namespace
For example:
require 'snapi' module A class ClassName include Snapi::Capability end end p A::ClassName.namespace p Snapi.capabilities module B class ClassName include Snapi::Capability end end p B::ClassName.namespace p Snapi.capabilities
Output:
:class_name {:class_name=>A::ClassName} :class_name {:class_name=>B::ClassName}
Looks like a bug.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is verbatim from @iliabylich on this pull request:
The text was updated successfully, but these errors were encountered: