Method: Fastlane::FastFile#platform

Defined in:
fastlane/lib/fastlane/fast_file.rb

#platform(platform_name) ⇒ Object

User defines a platform block



122
123
124
125
126
127
128
129
130
# File 'fastlane/lib/fastlane/fast_file.rb', line 122

def platform(platform_name)
  SupportedPlatforms.verify!(platform_name)

  self.current_platform = platform_name

  yield

  self.current_platform = nil
end