module Webgen::ContentProcessor::Ruby
Processes the content that is valid Ruby
to generate new content.
Public Class Methods
call(context)
click to toggle source
Process the content of context
which needs to be valid Ruby
code.
# File lib/webgen/content_processor/ruby.rb 14 def self.call(context) 15 eval(context.content, binding, context.ref_node.alcn) 16 context 17 end