Sha256: 29bbe1ae7531ff0056ce7ef7dd7caeae51d95097ae73a031a98a261df8648d53
Contents?: true
Size: 466 Bytes
Versions: 4
Compression:
Stored size: 466 Bytes
Contents
module JBundle class Bundle include Enumerable include JBundle::BundleUtils attr_reader :name, :original_name, :licenses def initialize(name) @original_name, @name = parse_name(name) @files = [] @licenses = [] end def file(f) @files << f end def license(license_file) @licenses << license_file end def each(&block) @files.each &block end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jbundle-0.1.4 | lib/jbundle/bundle.rb |
jbundle-0.1.3 | lib/jbundle/bundle.rb |
jbundle-0.1.2 | lib/jbundle/bundle.rb |
jbundle-0.1.1 | lib/jbundle/bundle.rb |