Skip to content

IceDragon200/mruby-catch-throw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Implementation of catch and throw in mruby.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages