module AutoConsul::Cluster::Registry

Public Class Methods

supported_schemes() click to toggle source
# File lib/auto-consul/cluster.rb, line 33
def self.supported_schemes
  constants.inject({}) do |a, const|
    if const.to_s =~ /^(.+?)Provider$/
      a[$1.downcase] = const_get(const)
    end
    a
  end
end