Class: WhatTheGem::Gem::Bundled::NoBundle

Inherits:
Struct
  • Object
show all
Defined in:
lib/whatthegem/gem/bundled.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



6
7
8
# File 'lib/whatthegem/gem/bundled.rb', line 6

def name
  @name
end

Instance Method Details

#present?Boolean

Returns:

  • (Boolean)


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

def present?
  false
end

#to_hObject



7
8
9
# File 'lib/whatthegem/gem/bundled.rb', line 7

def to_h
  {type: 'nobundle'}
end