Method: Gem::Version.create
- Defined in:
- lib/rubygems/version.rb
.create(input) ⇒ Object
187 188 189 190 191 192 193 194 195 196 197 |
# File 'lib/rubygems/version.rb', line 187 def self.create(input) if self === input # check yourself before you wreck yourself input elsif input.nil? nil_versions_are_discouraged! nil else new input end end |