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.
Is it possible to relocate the private (so called) require statements found in
lib\stomp.rbto the files that need them?For example relocate:
to
lib\stomp\client.rbandlib\stomp\connection.rbas appropriate.As the contents of these files are private methods the public interface of the gem is not altered in the process.