Class Amrita::CCompiledTemplate
In: lib/amrita/template.rb
Parent: Template
Methods
amulet_specs    setup_template    use_compiler   
Public Instance methods
use_compiler()
# File lib/amrita/template.rb, line 452
    def use_compiler
      false
    end
setup_template()
# File lib/amrita/template.rb, line 456
    def setup_template
      instruction = ByteCode::RubyMethodInstruction.new(self, :execute)
      @iset = InstructionSet.new instruction
      @amulet_seeds = {}
      amulet_specs.each do |k, v|
        methodname = "execute_amulet_" + k.to_s
        instruction = ByteCode::RubyMethodInstruction[self, methodname.intern]
        iset = InstructionSet.new instruction
        seed = CCompiledAmuletSeed.new(self, v)
        seed.iset = iset
        @amulet_seeds[k] = seed
      end
    end
amulet_specs()
# File lib/amrita/template.rb, line 470
    def amulet_specs
      {}
    end