diff options
| author | Daniel Bovensiepen <[email protected]> | 2013-04-27 16:59:02 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2013-04-27 16:59:02 +0800 |
| commit | 3875140afe6c83868d4469fd170d831bef71a310 (patch) | |
| tree | a75b179a2f61b775bb8e559ed65069a6cd9dd1d6 /tasks/mrbgem_spec.rake | |
| parent | 0ad9e5a37d9cd01a104c8643cc03e88c1894ad0b (diff) | |
| download | mruby-3875140afe6c83868d4469fd170d831bef71a310.tar.gz mruby-3875140afe6c83868d4469fd170d831bef71a310.zip | |
IMPROVE: Move GemBox to more logical source location
Diffstat (limited to 'tasks/mrbgem_spec.rake')
| -rw-r--r-- | tasks/mrbgem_spec.rake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake index 564836630..eedc6480f 100644 --- a/tasks/mrbgem_spec.rake +++ b/tasks/mrbgem_spec.rake @@ -158,4 +158,11 @@ module MRuby end # Specification end # Gem + + GemBox = BasicObject.new + class << GemBox + def new(&block); block.call(self); end + def config=(obj); @config = obj; end + def gem(gemdir, &block); @config.gem(gemdir, &block); end + end # GemBox end # MRuby |
