Skip to content

Instantly share code, notes, and snippets.

@mokolabs
Created June 12, 2012 23:53
Show Gist options
  • Save mokolabs/2920883 to your computer and use it in GitHub Desktop.
Save mokolabs/2920883 to your computer and use it in GitHub Desktop.
def initialize(file)
begin
file = Zlib::GzipReader.open(file).read
rescue
end
@stencil = Plist::parse_xml(file)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment