Sha256: 9ed0baf3e83104e6ca4fd13cabd6d18387cf5789b5f17b41d3a56c7abf7b59a9
Contents?: true
Size: 397 Bytes
Versions: 42
Compression:
Stored size: 397 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 raise "Platform '#{platform}' is not supported. Must be either #{self.all}".red end end end end
Version data entries
42 entries across 42 versions & 1 rubygems