Skip to content

Instantly share code, notes, and snippets.

Created May 5, 2009 14:01
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
# gem install jphastings-dlc
require 'dlc'
s = = "Your Name"
s.url = "" = ""
# Now you can make a dlc:
package = = "My package" # Suggested, but not required
package.comment = "like, woah" # Optional
# Add some links
# You can pass an array
# Add a password, if needed
# Make the DLC
open("my_dlc.dlc","w") do |f|
f.write package.dlc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment