mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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
This commit is contained in: