Class: Package::Audit::Ruby::GemMetaData

Inherits:
Object
  • Object
show all
Defined in:
lib/package/audit/ruby/gem_meta_data.rb

Instance Method Summary collapse

Constructor Details

#initialize(dir, pkgs) ⇒ GemMetaData

Returns a new instance of GemMetaData.



7
8
9
10
11
# File 'lib/package/audit/ruby/gem_meta_data.rb', line 7

def initialize(dir, pkgs)
  @dir = dir
  @pkgs = pkgs
  @gem_hash = {}
end

Instance Method Details

#fetchObject



13
14
15
16
17
# File 'lib/package/audit/ruby/gem_meta_data.rb', line 13

def fetch
  
  assign_groups
  @gem_hash.values
end