Method: Gem::PlatformMismatch#initialize
- Defined in:
- lib/rubygems/errors.rb
#initialize(name, version) ⇒ PlatformMismatch
Returns a new instance of PlatformMismatch.
119 120 121 122 123 |
# File 'lib/rubygems/errors.rb', line 119 def initialize(name, version) @name = name @version = version @platforms = [] end |