Class: WhatTheGem::Gem::Bundled::NotBundled
- Defined in:
- lib/whatthegem/gem/bundled.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
16 17 18 |
# File 'lib/whatthegem/gem/bundled.rb', line 16 def name @name end |
Instance Method Details
#present? ⇒ Boolean
21 22 23 |
# File 'lib/whatthegem/gem/bundled.rb', line 21 def present? false end |
#to_h ⇒ Object
17 18 19 |
# File 'lib/whatthegem/gem/bundled.rb', line 17 def to_h {type: 'notbundled', name: name} end |