123456789_123456789_123456789_123456789_123456789_

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
  • ::Object
Defined in: actionview/lib/action_view/template/handlers/erb/erubi.rb

Constant Summary

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