Class: GemfileLocker::Unlocker

Inherits:
GemfileProcessor show all
Defined in:
lib/gemfile_locker/unlocker.rb

Instance Attribute Summary collapse

Attributes inherited from GemfileProcessor

#options, #path

Instance Method Summary collapse

Methods inherited from GemfileProcessor

#call, #initialize, #skip_gem?

Constructor Details

This class inherits a constructor from GemfileLocker::GemfileProcessor

Instance Attribute Details

#lockfileObject (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(gem_entry) ⇒ Object



5
6
7
# File 'lib/gemfile_locker/unlocker.rb', line 5

def process_gem(gem_entry)
  gem_entry.unlock
end