Method: Berkshelf::Source#to_s

Defined in:
lib/berkshelf/source.rb

#to_sObject



145
146
147
148
149
150
151
152
153
154
# File 'lib/berkshelf/source.rb', line 145

def to_s
  case type
  when :supermarket
    uri.to_s
  when :chef_repo
    options[:path]
  else
    "#{type}: #{uri}"
  end
end