Module: Erubis::RubyEvaluator

Module | Erubis::RubyEvaluator
In: | lib/erubis/evaluator.rb

evaluator for Ruby

### Methods

def_method evaluate result

### Included Modules

Evaluator

### Public Instance methods

def_method(object, method_name, filename=nil)

if object is an Class or Module then define instance method to it, else define singleton method to it.

evaluate(_context=Context.new)

invoke context.instance_eval(@src)

result(_binding_or_hash=TOPLEVEL_BINDING)

eval(@src) with binding object

[Validate]