Class: GemMonitor::Extractor
- Inherits:
-
Object
- Object
- GemMonitor::Extractor
- Defined in:
- lib/gem_monitor/extractor.rb
Instance Attribute Summary collapse
-
#gem_objects ⇒ Object
Returns the value of attribute gem_objects.
-
#gemfile_content ⇒ Object
Returns the value of attribute gemfile_content.
-
#gemfile_lock_content ⇒ Object
Returns the value of attribute gemfile_lock_content.
Instance Method Summary collapse
- #extract_project_gem_objects ⇒ Object
-
#initialize(args = {}) ⇒ Extractor
constructor
A new instance of Extractor.
Constructor Details
#initialize(args = {}) ⇒ Extractor
Returns a new instance of Extractor.
5 6 7 |
# File 'lib/gem_monitor/extractor.rb', line 5 def initialize args = {} self.gem_objects = [] end |
Instance Attribute Details
#gem_objects ⇒ Object
Returns the value of attribute gem_objects.
3 4 5 |
# File 'lib/gem_monitor/extractor.rb', line 3 def gem_objects @gem_objects end |
#gemfile_content ⇒ Object
Returns the value of attribute gemfile_content.
3 4 5 |
# File 'lib/gem_monitor/extractor.rb', line 3 def gemfile_content @gemfile_content end |
#gemfile_lock_content ⇒ Object
Returns the value of attribute gemfile_lock_content.
3 4 5 |
# File 'lib/gem_monitor/extractor.rb', line 3 def gemfile_lock_content @gemfile_lock_content end |
Instance Method Details
#extract_project_gem_objects ⇒ Object
17 18 19 20 |
# File 'lib/gem_monitor/extractor.rb', line 17 def extract_project_gem_objects extract_and_create_gems_objects gem_objects end |