Sha256: eafa300a11095684cb04182b571e008e5fdb6166f24c85a6bcefc0c0c8695789

Contents?: true

Size: 1.18 KB

Versions: 4

Compression:

Stored size: 1.18 KB

Contents

#(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
#
# This source file is part of the xsort open source project
#
# Copyright (c) 2018 -  Keisuke Yamagishi. project authors
# Licensed under MIT LICENCE
#
# See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
#
#===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/

module Xcodeproj
    module Pbxproj
        module PbxObject
            class Emurate

                def self.emurates(chars)
                    splits = chars.split(" ")
                    isName = false
                    splits.each { |char|
                        if char == "*/"
                            isName = false
                        end
                        if isName == true
                            return char
                        end
                        if char == "/*"
                            isName = true
                        end
                    }
                end

                def self.emurateUUID(char)
                    return char.split(" ").first
                end
            end

        end
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
xsort-1.4.0 lib/xsort/xcodeproj/pbxproj/pbxobject/Emurate.rb
xsort-1.3.0 lib/xsort/xcodeproj/pbxproj/pbxobject/Emurate.rb
xsort-1.2.6 lib/xsort/xcodeproj/pbxproj/pbxobject/Emurate.rb
xsort-1.2.5 lib/xsort/xcodeproj/pbxproj/pbxobject/Emurate.rb