lib/run_loop/xcode.rb in run_loop-2.0.3 vs lib/run_loop/xcode.rb in run_loop-2.0.4

- old
+ new

@@ -22,14 +22,22 @@ # Returns debug String representation def inspect to_s end - # Returns a version instance for `Xcode 7.1`; used to check for the + # Returns a version instance for `Xcode 7.3`; used to check for the # availability of features and paths to various items on the filesystem. # - # @return [RunLoop::Version] 7.1 + # @return [RunLoop::Version] 7.3 + def v73 + fetch_version(:v73) + end + + # Returns a version instance for `Xcode 7.2`; used to check for the + # availability of features and paths to various items on the filesystem. + # + # @return [RunLoop::Version] 7.2 def v72 fetch_version(:v72) end # Returns a version instance for `Xcode 7.1`; used to check for the @@ -102,12 +110,19 @@ # @return [RunLoop::Version] 5.0 def v50 fetch_version(:v50) end - # Is the active Xcode version 7.1 or above? + # Is the active Xcode version 7.3 or above? # - # @return [Boolean] `true` if the current Xcode version is >= 7.1 + # @return [Boolean] `true` if the current Xcode version is >= 7.3 + def version_gte_73? + version >= v73 + end + + # Is the active Xcode version 7.2 or above? + # + # @return [Boolean] `true` if the current Xcode version is >= 7.2 def version_gte_72? version >= v72 end # Is the active Xcode version 7.1 or above?