Class: GemfileLocker::Unlocker
- Inherits:
-
GemfileProcessor
- Object
- GemfileProcessor
- GemfileLocker::Unlocker
- Defined in:
- lib/gemfile_locker/unlocker.rb
Constant Summary
Constants inherited from GemfileProcessor
GemfileProcessor::GEM_LINE_REGEX, GemfileProcessor::GEM_MATCH_FIELDS
Instance Attribute Summary collapse
-
#lockfile ⇒ Object
readonly
Returns the value of attribute lockfile.
Attributes inherited from GemfileProcessor
Instance Method Summary collapse
Methods inherited from GemfileProcessor
#call, #initialize, #process_gems, #set_gem_version, #skip_gem?
Constructor Details
This class inherits a constructor from GemfileLocker::GemfileProcessor
Instance Attribute Details
#lockfile ⇒ Object (readonly)
Returns the value of attribute lockfile.
3 4 5 |
# File 'lib/gemfile_locker/unlocker.rb', line 3 def lockfile @lockfile end |
Instance Method Details
#process_gem(data) ⇒ Object
5 6 7 |
# File 'lib/gemfile_locker/unlocker.rb', line 5 def process_gem(data) set_gem_version(data, nil) end |