# File lib/rubygems/requirement.rb, line 38 def self.create(input) case input when Gem::Requirement then input when Gem::Version, Array then new input else if input.respond_to? :to_str then self.new [input.to_str] else self.default end end end