Skip to content

Instantly share code, notes, and snippets.

@ab5tract
Forked from dyoder/dependencies.rb
Created September 9, 2008 05:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ab5tract/9617 to your computer and use it in GitHub Desktop.
Save ab5tract/9617 to your computer and use it in GitHub Desktop.
def self.dependencies( *args )
self['dependencies'] ||= Set.new
args.length == 0 ? self['dependencies'] :
self['dependencies'] += ( args - gems.dependencies )
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment