Sha256: 6e33550fe818ab8e21422d5099f54b3893086a41db9730071738ab86ed0c624a

Contents?: true

Size: 368 Bytes

Versions: 5

Compression:

Stored size: 368 Bytes

Contents

module NginxTail
  module ProxyAddresses
    
    def self.included(base) # :nodoc:
      base.class_eval do

        # this ensures the below module methods actually make sense...
        raise "Class #{base.name} should implement instance method 'proxy_addresses'" unless base.instance_methods.include? 'proxy_addresses'
        
      end
    end
        
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ntail-0.0.11 lib/ntail/proxy_addresses.rb
ntail-0.0.10 lib/ntail/proxy_addresses.rb
ntail-0.0.9 lib/ntail/proxy_addresses.rb
ntail-0.0.8 lib/ntail/proxy_addresses.rb
ntail-0.0.7 lib/ntail/proxy_addresses.rb