Skip to content

Loader: only create namespaces if they don't already exist #6

@GavinJoyce

Description

@GavinJoyce

This will avoid these warnings:

/Users/gavin/.rvm/gems/ruby-2.0.0-p247/gems/restpack_service-0.0.40/lib/restpack_service/loader.rb:31: warning: already initialized constant Models
/Users/gavin/.rvm/gems/ruby-2.0.0-p247/gems/restpack_service-0.0.40/lib/restpack_service/loader.rb:31: warning: previous definition of Models was here
/Users/gavin/.rvm/gems/ruby-2.0.0-p247/gems/restpack_service-0.0.40/lib/restpack_service/loader.rb:31: warning: already initialized constant Serializers
/Users/gavin/.rvm/gems/ruby-2.0.0-p247/gems/restpack_service-0.0.40/lib/restpack_service/loader.rb:31: warning: previous definition of Serializers was here
/Users/gavin/.rvm/gems/ruby-2.0.0-p247/gems/restpack_service-0.0.40/lib/restpack_service/loader.rb:31: warning: already initialized constant Commands
/Users/gavin/.rvm/gems/ruby-2.0.0-p247/gems/restpack_service-0.0.40/lib/restpack_service/loader.rb:31: warning: previous definition of Commands was here

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