module Kenma
Constants
- VERSION
Public Class Methods
compile(body, context = {})
click to toggle source
# File lib/kenma.rb, line 10 def self.compile(body, context = {}) PreProcessor.compile(body, context) end
compile_of(body, context = {})
click to toggle source
# File lib/kenma.rb, line 14 def self.compile_of(body, context = {}) PreProcessor.compile_of(body, context) end
macro_eval(context = {}, &body)
click to toggle source
# File lib/kenma.rb, line 18 def self.macro_eval(context = {}, &body) body.binding.eval Kenma.compile_of(body).source end