Sha256: db873d74cf06995100d9aadee4f4e87ef5dad93bfb3bf86a6b47856d356bd937
Contents?: true
Size: 399 Bytes
Versions: 71
Compression:
Stored size: 399 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
71 entries across 71 versions & 1 rubygems