Sha256: 6160eb838c6d8dd6db3dc53c956c563d38e3ebc8d002e086c3907bca8bd984fc
Contents?: true
Size: 987 Bytes
Versions: 2
Compression:
Stored size: 987 Bytes
Contents
// RubyCommandable.swift // Copyright (c) 2020 FastlaneTools // // ** NOTE ** // This file is provided by fastlane and WILL be overwritten in future updates // If you want to add extra functionality to this project, create a new file in a // new group so that it won't be marked for upgrade // import Foundation enum CommandType { case action case control var token: String { switch self { case .action: return "action" case .control: return "control" } } } protocol RubyCommandable { var type: CommandType { get } var commandJson: String { get } var id: String { get } } extension RubyCommandable { var json: String { return """ { "commandType": "\(type.token)", "command": \(commandJson) } """ } } // Please don't remove the lines below // They are used to detect outdated files // FastlaneRunnerAPIVersion [0.9.2]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fastlane_hotfix-2.165.1 | fastlane/swift/RubyCommandable.swift |
fastlane_hotfix-2.165.0 | fastlane/swift/RubyCommandable.swift |