Class: WhatTheGem::Gem::NoGem

Inherits:
Struct
  • Object
show all
Defined in:
lib/whatthegem/gem.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/whatthegem/gem.rb', line 9

def name
  @name
end

Instance Method Details

#exists?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/whatthegem/gem.rb', line 10

def exists?
  false
end