Skip to content

Remove private includes from stomp.rb #84

@PaulGale

Description

@PaulGale

Is it possible to relocate the private (so called) require statements found in lib\stomp.rb to the files that need them?

For example relocate:

# Private methods in #Client
require 'client/utils' # private Client Utility methods

# Private methods in #Connection
require 'connection/utils' # private Connection Utility methods
require 'connection/netio' # private Network io methods
require 'connection/heartbeats' # private 1.1+ heartbeat related methods
require 'connection/utf8' # private 1.1+ UTF8 related methods

to lib\stomp\client.rb and lib\stomp\connection.rb as appropriate.

As the contents of these files are private methods the public interface of the gem is not altered in the process.

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