Method: Pod::Source::HealthReporter::HealthReport#add_message
- Defined in:
- lib/cocoapods-core/source/health_reporter.rb
#add_message(type, message, spec_name, spec_version = nil) ⇒ void
This method returns an undefined value.
Adds a message with the given type for the specification with the given name and version.
181 182 183 184 185 186 |
# File 'lib/cocoapods-core/source/health_reporter.rb', line 181 def (type, , spec_name, spec_version = nil) pods = send(:"pods_by_#{type}") pods[] ||= {} pods[][spec_name] ||= [] pods[][spec_name] << spec_version end |