Class: GemCollection::EmptyGemCollection

Inherits:
Object
  • Object
show all
Defined in:
lib/gem_checks/gem_collection.rb

Constant Summary collapse

MESSAGE =
"\nYou have no vulnerable gems in your project".freeze

Instance Method Summary collapse

Instance Method Details

#display_vulnerableObject



34
35
36
37
# File 'lib/gem_checks/gem_collection.rb', line 34

def display_vulnerable
  puts MESSAGE
  self
end

#empty?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/gem_checks/gem_collection.rb', line 30

def empty?
  true
end