Class: Bundler::Deprecate

Inherits:
Object
  • Object
show all
Defined in:
lib/bundler/deprecate.rb

Class Method Summary collapse

Class Method Details

.skipObject



34
35
36
# File 'lib/bundler/deprecate.rb', line 34

def Deprecate.skip
  @skip ||= false
end

.skip=(skip) ⇒ Object



40
41
42
# File 'lib/bundler/deprecate.rb', line 40

def Deprecate.skip=(skip)
  @skip = skip
end

.skip_duringObject



24
25
26
27
28
29
30
# File 'lib/bundler/deprecate.rb', line 24

def Deprecate.skip_during
  original = skip
  self.skip = true
  yield
ensure
  self.skip = original
end