Add gembox "stdlib"; make Ruby module more complex

This commit is contained in:
Alex Kotov 2022-11-29 17:01:07 +04:00
parent baa2fe62c4
commit cf40b5b917
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
2 changed files with 4 additions and 3 deletions

View File

@ -2,6 +2,7 @@ MRuby::CrossBuild.new ENV.fetch 'BUILD_NAME' do |conf|
conf.toolchain :gcc
conf.gem core: 'mruby-compiler'
conf.gembox 'stdlib'
conf.cc.flags <<
'-Wall' <<

View File

@ -1,4 +1,4 @@
hello = 'Hello, World!'
works = 'Ruby modules work!'
s = [hello, works].join ' '
hello = 'Hello, World'
works = 'Ruby modules work'
s = [hello, works].map { |s| "#{s}!" }.join ' '
console_puts s