Class: Gempage::RubyGemInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/gempage/ruby_gem_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gem_name) ⇒ RubyGemInfo

Returns a new instance of RubyGemInfo.



10
11
12
13
# File 'lib/gempage/ruby_gem_info.rb', line 10

def initialize(gem_name)
  @gem_name = gem_name
  @gem_json = gem_json
end

Instance Attribute Details

#gem_jsonObject (readonly)

The snagging gem details from RubyGems.org part of the system



8
9
10
# File 'lib/gempage/ruby_gem_info.rb', line 8

def gem_json
  @gem_json
end