Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 314 Bytes

README.md

File metadata and controls

21 lines (19 loc) · 314 Bytes

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