# File lib/rabl/renderer.rb, line 48 def render(context_scope = nil) context_scope ||= options[:scope] || self set_object_instance_variable if context_scope == self locals = { :object => object }.merge(options.fetch(:locals, {})) engine.apply(context_scope, locals).render end