Markaby github.com/markaby/markaby
# File lib/tilt.rb, line 861 def __capture_markaby_tilt__(&block) __run_markaby_tilt__ do text capture(&block) end end
# File lib/tilt.rb, line 877 def evaluate(scope, locals, &block) builder = self.class.builder_class.new({}, scope) builder.locals = locals if data.kind_of? Proc (class << builder; self end).send(:define_method, :__run_markaby_tilt__, &data) else builder.instance_eval def __run_markaby_tilt__ #{data} end, __FILE__, __LINE__ end if block builder.__capture_markaby_tilt__(&block) else builder.__run_markaby_tilt__ end builder.to_s end
Generated with the Darkfish Rdoc Generator 2.