Module: Fastlane::Helper::XcodesHelper::Verify
- Defined in:
- fastlane/lib/fastlane/helper/xcodes_helper.rb
Class Method Summary collapse
Class Method Details
.requirement(req) ⇒ Object
19 20 21 22 23 24 |
# File 'fastlane/lib/fastlane/helper/xcodes_helper.rb', line 19 def self.requirement(req) UI.user_error!("Version must be specified") if req.nil? || req.to_s.strip.size == 0 Gem::Requirement.new(req.to_s) rescue Gem::Requirement::BadRequirementError UI.user_error!("The requirement '#{req}' is not a valid RubyGems style requirement") end |