Logo
Explore Help
Sign In
admin/brew
1
0
Fork 0
You've already forked brew
Code Issues Packages Projects Releases 6 Wiki Activity
brew/Library/Homebrew/debrew/exception.rb

8 lines
107 B
Ruby
Raw Normal View History

Split debrew up to faciliate test isolation We want to be able to test the raise functionality without monkey-patching #raise on every object in the system, which is one of the side effects of loading debrew.rb.
2013-02-06 18:46:36 -06:00
class Exception
attr_accessor :continuation
def restart(&block)
continuation.call block
end
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 682ms Template: 20ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API