Method: FastlaneCore::ConfigItem#doc_default_value

Defined in:
fastlane_core/lib/fastlane_core/configuration/config_item.rb

#doc_default_valueObject



341
342
343
344
345
346
347
348
# File 'fastlane_core/lib/fastlane_core/configuration/config_item.rb', line 341

def doc_default_value
  return "[*](#parameters-legend-dynamic)" if self.default_value_dynamic
  return "" if self.default_value.nil?
  return "`''`" if self.default_value.instance_of?(String) && self.default_value.empty?
  return "`:#{self.default_value}`" if self.default_value.instance_of?(Symbol)

  "`#{self.default_value}`"
end