Class: WhatTheGem::Gem::RubyGems
- Defined in:
- lib/whatthegem/gem/rubygems.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ RubyGems
constructor
A new instance of RubyGems.
Constructor Details
#initialize(name) ⇒ RubyGems
Returns a new instance of RubyGems.
6 7 8 |
# File 'lib/whatthegem/gem/rubygems.rb', line 6 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/whatthegem/gem/rubygems.rb', line 4 def name @name end |