Replace mere `enable_debug` by clearer `conf.enable_debug` [ci skip]
MODIFY
build_config/host-cxx.rb
build_config/host-cxx.rb
MRuby::Build.new do |conf|
toolchain :gcc
- enable_debug
# include the default GEMs
conf.gembox 'default'

MODIFY
build_config/host-debug.rb
build_config/host-debug.rb
@@ -8,7 +8,7 @@ MRuby::Build.new('host') do |conf|
toolchain :gcc
end
- enable_debug
+ conf.enable_debug
# include the default GEMs
conf.gembox 'full-core'

MODIFY
build_config/host-gprof.rb
build_config/host-gprof.rb
@@ -9,6 +9,6 @@ MRuby::Build.new do |conf|
conf.linker.flags << '-pg'
# Turn on `enable_debug` for better debugging
- enable_debug
+ conf.enable_debug
conf.enable_test
end

MODIFY
build_config/host-shared.rb
build_config/host-shared.rb
@@ -30,7 +30,7 @@ MRuby::Build.new do |conf|
# conf.file_separator = '/'
# Turn on `enable_debug` for better debugging
- enable_debug
+ conf.enable_debug
conf.enable_bintest
conf.enable_test
end

MODIFY
build_config/travis.rb
build_config/travis.rb
MRuby::Build.new('full-debug') do |conf|
toolchain :gcc
- enable_debug
+ conf.enable_debug
# include all core GEMs
conf.gembox 'full-core'

MODIFY
mrbgems/mruby-method/README.md
mrbgems/mruby-method/README.md
@@ -15,7 +15,7 @@ You need to enable debug option in your build configuration to use
```ruby
MRuby::Build.new do |conf|
- enable_debug
+ conf.enable_debug
end
```

Replace mere `enable_debug` by clearer `conf.enable_debug` [ci skip]