Class: ActionView::Template::Handlers::ERB::Erubi
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Erubi::Engine
|
|
Instance Chain:
self,
Erubi::Engine
|
|
Inherits: |
Erubi::Engine
|
Defined in: | actionview/lib/action_view/template/handlers/erb/erubi.rb |
Constant Summary
-
BLOCK_EXPR =
# File 'actionview/lib/action_view/template/handlers/erb/erubi.rb', line 45/\s*((\s+|\))do|\{)(\s*\|[^|]*\|)?\s*\Z/
Instance Method Summary
Instance Method Details
#evaluate(action_view_erb_handler_context)
[ GitHub ]# File 'actionview/lib/action_view/template/handlers/erb/erubi.rb', line 24
def evaluate(action_view_erb_handler_context) pr = eval("proc { #{@src} }", binding, @filename || "(erubi)") action_view_erb_handler_context.instance_eval(&pr) end