method

add_platform

ruby latest stable - Class: Gem::PlatformMismatch
add_platform(platform)
public

append a platform to the list of mismatched platforms.

Platforms are added via this instead of injected via the constructor so that we can loop over a list of mismatches and just add them rather than perform some kind of calculation mismatch summary before creation.