MCPcopy Create free account
hub / github.com/apache/arrow / env_value

Method env_value

dev/release/binary-task.rb:1136–1141  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

1134
1135 private
1136 def env_value(name)
1137 value = ENV[name]
1138 value = yield(name) if value.nil? and block_given?
1139 raise "Specify #{name} environment variable" if value.nil?
1140 value
1141 end
1142
1143 def verbose?
1144 ENV["VERBOSE"] == "yes"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected