(name)
| 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" |
nothing calls this directly
no outgoing calls
no test coverage detected