require 'alki' assembly = Alki.create_assembly do set :msg, "hello world" func :run do puts msg end end assembly.new.run # output: hello world
Manually Creating Assemblies
In addition to Project Assemblies, you can also create assemblies directly using
It should be called with a block that contains the assembly DSL. It will return a Module object that can
be used directly or assigned to a constant.