Module: Datadog::CI::Utils::Parsing
- Defined in:
- lib/datadog/ci/utils/parsing.rb
Class Method Summary collapse
Class Method Details
.convert_to_bool(value) ⇒ Object
10 11 12 13 |
# File 'lib/datadog/ci/utils/parsing.rb', line 10 def self.convert_to_bool(value) normalized_value = value.to_s.downcase normalized_value == "true" || normalized_value == "1" end |