Class: Scatter::Gemlist
- Inherits:
-
Object
- Object
- Scatter::Gemlist
- Defined in:
- lib/scatter/gemlist.rb
Instance Attribute Summary collapse
-
#gem_output ⇒ Object
Returns the value of attribute gem_output.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(gem_output) ⇒ Gemlist
constructor
A new instance of Gemlist.
Constructor Details
#initialize(gem_output) ⇒ Gemlist
Returns a new instance of Gemlist.
5 6 7 |
# File 'lib/scatter/gemlist.rb', line 5 def initialize(gem_output) @gem_output = gem_output end |
Instance Attribute Details
#gem_output ⇒ Object
Returns the value of attribute gem_output.
3 4 5 |
# File 'lib/scatter/gemlist.rb', line 3 def gem_output @gem_output end |
Class Method Details
.parse(gem_output) ⇒ Object
9 10 11 |
# File 'lib/scatter/gemlist.rb', line 9 def self.parse(gem_output) new(gem_output) end |