Skip to content

Not all of your classes are declared within modules #36

@mikeappell

Description

@mikeappell

Hi folks,

I just ran into an issue that took me quite a while to track down the underlying cause of. It eventually turned out that ff-ruby-server-sdk declares a class Operators without namespacing it in a module, and we declare an Operators module in our own application code, and these two declarations clash.

My understanding of gems is that you'd want to namespace all of your declared classes to prevent clashing with the applications which make use of your gem. You do some namespacing, e.g. Module Ff/Ruby/Server/Sdk but not globally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions