This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
forked from toretore/zippy
-
Notifications
You must be signed in to change notification settings - Fork 0
rubyzip for dummies
License
DYE/zippy
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Zippy.create 'awsum.zip' do |zip| zip['README'] = 'In Soviet Russia, README READSYOU' zip['porn.mpeg'] = File.open('rick astley - never gonna give you up.mpg') end Zippy.list('awsum.zip') #=> ['README', 'porn.mpeg'] Zippy.open('awsum.zip') do |zip| zip['bin/hello_world'] = "#!/usr/bin/env ruby\n\nputs 'hello, zip world'" end #Your params as a zip #It's SAAS! require 'sinatra' get '/' do Zippy.new{|z| params.each{|k,v| z[k] = v } }.data end
About
rubyzip for dummies
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published