Namespace

Class/Module Index [+]

Quicksearch

Bundler::SafeCatch

Public Instance Methods

safe_catch(tag, &block) click to toggle source
# File lib/bundler/safe_catch.rb, line 28
def safe_catch(tag, &block)
  if Bundler.current_ruby.jruby?
    Internal.catch(tag, &block)
  else
    catch(tag, &block)
  end
end
safe_throw(tag, value = nil) click to toggle source
# File lib/bundler/safe_catch.rb, line 36
def safe_throw(tag, value = nil)
  if Bundler.current_ruby.jruby?
    Internal.throw(tag, value)
  else
    throw(tag, value)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.