Skip to content

Instantly share code, notes, and snippets.

@rippinrobr
Created October 30, 2010 14:48
Show Gist options
  • Save rippinrobr/655360 to your computer and use it in GitHub Desktop.
Save rippinrobr/655360 to your computer and use it in GitHub Desktop.
key statements in the GenerateAssembly.initialize method
# atually creates the dynamic assembly and then the dynamic module
@assembly = AppDomain.CurrentDomain.DefineDynamicAssembly(@asm,
AssemblyBuilderAccess.RunAndSave)
@mod_builder = @assembly.DefineDynamicModule("#{@asm.Name}",
@dll_name,
false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment