Sha256: 3f030e59b9f8a7816f9d0826ef3c4e074a59880cc3340ab92055738acd6e14d5

Contents?: true

Size: 254 Bytes

Versions: 35

Compression:

Stored size: 254 Bytes

Contents

module Shenzhen::PlistBuddy
  class << self
    def print(file, key)
      output = `/usr/libexec/PlistBuddy -c "Print :#{key}" "#{file}" 2> /dev/null`

      !output || output.empty? || /Does Not Exist/ === output ? nil : output.strip
    end
  end
end

Version data entries

35 entries across 35 versions & 3 rubygems

Version Path
shenzhen-0.14.3 ./lib/shenzhen/plistbuddy.rb
shenzhen_fir-0.14.6 ./lib/shenzhen/plistbuddy.rb
shenzhen_fir-0.14.5 ./lib/shenzhen/plistbuddy.rb
krausefx-shenzhen-0.14.4 ./lib/shenzhen/plistbuddy.rb
krausefx-shenzhen-0.14.3 ./lib/shenzhen/plistbuddy.rb
shenzhen-0.14.2 ./lib/shenzhen/plistbuddy.rb
krausefx-shenzhen-0.14.2 ./lib/shenzhen/plistbuddy.rb
krausefx-shenzhen-0.14.1 ./lib/shenzhen/plistbuddy.rb
shenzhen-0.14.1 ./lib/shenzhen/plistbuddy.rb
shenzhen-0.14.0 ./lib/shenzhen/plistbuddy.rb
shenzhen-0.13.2 ./lib/shenzhen/plistbuddy.rb
shenzhen-0.13.1 ./lib/shenzhen/plistbuddy.rb
shenzhen-0.13.0 ./lib/shenzhen/plistbuddy.rb
shenzhen-0.12.1 ./lib/shenzhen/plistbuddy.rb
shenzhen-0.12.0 ./lib/shenzhen/plistbuddy.rb
shenzhen-0.11.2 ./lib/shenzhen/plistbuddy.rb
shenzhen-0.11.0 ./lib/shenzhen/plistbuddy.rb
shenzhen-0.10.3 ./lib/shenzhen/plistbuddy.rb
shenzhen-0.10.2 ./lib/shenzhen/plistbuddy.rb
shenzhen-0.10.1 ./lib/shenzhen/plistbuddy.rb