Class: CocoapodsCatalystSupport::OSPlatform
- Inherits:
-
Object
- Object
- CocoapodsCatalystSupport::OSPlatform
- Defined in:
- lib/cocoapods-catalyst-support/os_platform.rb
Instance Attribute Summary collapse
-
#filter ⇒ Object
readonly
Returns the value of attribute filter.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#sdk ⇒ Object
readonly
Returns the value of attribute sdk.
-
#sdk_root ⇒ Object
readonly
Returns the value of attribute sdk_root.
Class Method Summary collapse
Instance Attribute Details
#filter ⇒ Object (readonly)
Returns the value of attribute filter.
7 8 9 |
# File 'lib/cocoapods-catalyst-support/os_platform.rb', line 7 def filter @filter end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/cocoapods-catalyst-support/os_platform.rb', line 4 def name @name end |
#sdk ⇒ Object (readonly)
Returns the value of attribute sdk.
5 6 7 |
# File 'lib/cocoapods-catalyst-support/os_platform.rb', line 5 def sdk @sdk end |
#sdk_root ⇒ Object (readonly)
Returns the value of attribute sdk_root.
6 7 8 |
# File 'lib/cocoapods-catalyst-support/os_platform.rb', line 6 def sdk_root @sdk_root end |
Class Method Details
.ios ⇒ Object
9 10 11 |
# File 'lib/cocoapods-catalyst-support/os_platform.rb', line 9 def self.ios OSPlatform.new :ios, 'iphone*', 'iPhoneOS', 'ios' end |
.macos ⇒ Object
13 14 15 |
# File 'lib/cocoapods-catalyst-support/os_platform.rb', line 13 def self.macos OSPlatform.new :macos, 'macosx*', 'MacOS', 'maccatalyst' end |
.tvos ⇒ Object
21 22 23 |
# File 'lib/cocoapods-catalyst-support/os_platform.rb', line 21 def self.tvos OSPlatform.new :tvos, 'appletvos*', 'AppleTVOS', 'tvos' end |
.watchos ⇒ Object
17 18 19 |
# File 'lib/cocoapods-catalyst-support/os_platform.rb', line 17 def self.watchos OSPlatform.new :watchos, 'watchos*', 'WatchOS', 'watchos' end |