class Producer::Core::Remote::Environment

Public Class Methods

string_to_hash(str) click to toggle source
# File lib/producer/core/remote/environment.rb, line 6
def string_to_hash str
  Hash[str.each_line.map { |l| l.chomp.split '=', 2 }]
end