Sha256: e948fd774f4e1e89aae31576983a2385d17c2ef81d8f5acc627f096d6eadbec8
Contents?: true
Size: 405 Bytes
Versions: 72
Compression:
Stored size: 405 Bytes
Contents
module Fastlane class SupportedPlatforms def self.all [ :ios, :mac, :android ] end # this will throw an exception if the passed platform is not supported def self.verify!(platform) unless all.include? platform.to_s.to_sym UI.user_error!("Platform '#{platform}' is not supported. Must be either #{self.all}") end end end end
Version data entries
72 entries across 72 versions & 1 rubygems