lib/run_loop/xcode.rb in run_loop-2.6.4 vs lib/run_loop/xcode.rb in run_loop-2.6.5
- old
+ new
@@ -24,10 +24,18 @@
# Returns debug String representation
def inspect
to_s
end
+ # Returns a version instance for Xcode 9.3; used to check for the
+ # availability of features and paths to various items on the filesystem
+ #
+ # @return [RunLoop::Version] 9.3
+ def v93
+ fetch_version(:v93)
+ end
+
# Returns a version instance for Xcode 9.2; used to check for the
# availability of features and paths to various items on the filesystem
#
# @return [RunLoop::Version] 9.2
def v92
@@ -167,11 +175,17 @@
#
# @return [RunLoop::Version] 5.0
def v50
fetch_version(:v50)
end
+ # Is the active Xcode version 9.3 or above?
+ #
+ # @return [Boolean] `true` if the current Xcode version is >= 9.3
+ def version_gte_93?
+ version >= v93
+ end
- # Is the active Xcode version 9.1 or above?
+ # Is the active Xcode version 9.2 or above?
#
# @return [Boolean] `true` if the current Xcode version is >= 9.2
def version_gte_92?
version >= v92
end