Class: Beni::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/beni/configuration.rb

Overview

Resolution output of the Tasks DSL — immutable, defaults applied. The only input the task-definition phase reads: vendor_dir fully resolved (declaration > BENI_VENDOR_DIR > vendor/), build_config as an absolute path or nil for mruby’s untouched upstream default, targets as the declared set (or [“host”]), and toolchains as the reference-driven selection.

Instance Method Summary collapse

Instance Method Details

#mruby_versionObject

mruby’s selected version. Resolution always selects mruby and leads the toolchain set with it, so it is the head’s version.



13
14
15
# File 'lib/beni/configuration.rb', line 13

def mruby_version
  toolchains.first.version
end