lib/build/environment/system.rb in build-environment-1.1.5 vs lib/build/environment/system.rb in build-environment-1.2.0

- old
+ new

@@ -59,15 +59,15 @@ ]}] end end # Construct an environment from a given system environment: - def self.system_environment(env = ENV) - self.new(nil, Hash[env.map{|key, value| [key.downcase.to_sym, value]}]) + def self.system_environment(env = ENV, **options) + self.new(nil, Hash[env.map{|key, value| [key.downcase.to_sym, value]}], **options) end # Make a hash appropriate for a process environment def export - System::convert_to_shell(self) + System.convert_to_shell(self) end end end