Skip to content
Implementation of catch and throw in mruby.
Ruby
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mrblib
test
README.md
mrbgem.rake

README.md

mruby-catch-throw

An implementation of ruby's catch and throw.

mrb_config.rb:

MRuby::Build.new do |conf|
...
conf.gem github: 'IceDragon200/mruby-catch-throw'
...
end

Usage:

# just like your regular ruby catch & throw
catch :ball do 
  pitcher.wind_up
  throw :ball
end
You can’t perform that action at this time.