Class: RubyCF::PList
Class Method Summary collapse
-
.parse_file(file) ⇒ Object
Parse a plist from a file path or handle.
Class Method Details
.parse_file(file) ⇒ Object
Parse a plist from a file path or handle
31 32 33 |
# File 'lib/rubycf_extensions.rb', line 31 def self.parse_file file self.parse(file.is_a?(File) ? file.read : File.read(file)) end |