123456789_123456789_123456789_123456789_123456789_

Class: Bundler::Deprecate

Relationships & Source Files
Inherits: Object
Defined in: lib/bundler/deprecate.rb

Class Attribute Summary

Class Method Summary

Class Attribute Details

.skip (rw)

[ GitHub ]

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

def Deprecate.skip
  @skip ||= false
end

.skip=(skip) (rw)

[ GitHub ]

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

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

Class Method Details

.skip_during

[ GitHub ]

  
# File 'lib/bundler/deprecate.rb', line 24

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