module Erubis::Evaluator
evaluate code
Attributes
filename[RW]
src[RW]
Public Instance Methods
evaluate(*args)
click to toggle source
# File lib/erubis/evaluator.rb, line 34 def evaluate(*args) raise NotSupportedError.new("evaluation of code except Ruby is not supported.") end
init_evaluator(properties)
click to toggle source
# File lib/erubis/evaluator.rb, line 26 def init_evaluator(properties) @filename = properties[:filename] end
result(*args)
click to toggle source
# File lib/erubis/evaluator.rb, line 30 def result(*args) raise NotSupportedError.new("evaluation of code except Ruby is not supported.") end