diff options
| author | Ravil Bayramgalin <[email protected]> | 2013-02-12 20:07:46 +0400 |
|---|---|---|
| committer | Ravil Bayramgalin <[email protected]> | 2013-02-12 20:07:46 +0400 |
| commit | c7c435cf2337582e8fb49dc0243cbd95820325c0 (patch) | |
| tree | d5a983a0ba6ccf47d39ac3f65726bf62f7346e03 /include/mruby.h | |
| parent | 8578cd622ba6644a0421bcb35e44e0f7b2927a54 (diff) | |
| download | mruby-c7c435cf2337582e8fb49dc0243cbd95820325c0.tar.gz mruby-c7c435cf2337582e8fb49dc0243cbd95820325c0.zip | |
Extend MiniRake::DSL module to prevent inheritance pollution
```include MiniRake::DSL``` on toplevel will pollute ancestor tree of every object.
```extend MiniRake::DSL``` will add those methods only to ```main``` object.
Rake does the same: https://github.com/jimweirich/rake/blob/master/lib/rake/dsl_definition.rb#L153
Diffstat (limited to 'include/mruby.h')
0 files changed, 0 insertions, 0 deletions
