Sha256: be05766aaddf45eb6ed7b751b8db10556e75c1c5dabca59fa902196223db8e94

Contents?: true

Size: 266 Bytes

Versions: 11

Compression:

Stored size: 266 Bytes

Contents

require 'outliers/providers/aws'

module Outliers
  module Providers
    module_function

    def all
      all_the_modules.select{|m| m.is_a? Class}
    end

    def name_map 
      r = {}
      all.each { |p| r.merge! p.to_human => p }
      r
    end
 
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
outliers-0.6.0 lib/outliers/providers.rb
outliers-0.5.1 lib/outliers/providers.rb
outliers-0.5.0 lib/outliers/providers.rb
outliers-0.5.0.beta3 lib/outliers/providers.rb
outliers-0.5.0.beta2 lib/outliers/providers.rb
outliers-0.5.0.beta1 lib/outliers/providers.rb
outliers-0.3.3 lib/outliers/providers.rb
outliers-0.3.2 lib/outliers/providers.rb
outliers-0.3.1 lib/outliers/providers.rb
outliers-0.3.0 lib/outliers/providers.rb
outliers-0.2.0 lib/outliers/providers.rb