# File lib/fog/bin/local.rb, line 13 def [](service) @@connections ||= Hash.new do |hash, key| hash[key] = case key when :storage Formatador.display_line("[yellow][WARN] Local[:storage] is deprecated, use Storage[:local] instead[/]") Fog::Storage.new(:provider => 'Local') else raise ArgumentError, "Unrecognized service: #{key.inspect}" end end @@connections[service] end