lib/action_view/template/inline.rb
# frozen_string_literal: true module ActionView # :nodoc: class Template # :nodoc: class Inline < Template # :nodoc: # This finalizer is needed (and exactly with a proc inside another proc) # otherwise templates leak in development. Finalizer = proc do |method_name, mod| # :nodoc: proc do mod.module_eval do remove_possible_method method_name end end end def compile(mod) super ObjectSpace.define_finalizer(self, Finalizer[method_name, mod]) end end end end
Source Files
- lib/action_view.rb
- lib/action_view/base.rb
- lib/action_view/buffers.rb
- lib/action_view/cache_expiry.rb
- lib/action_view/context.rb
- lib/action_view/dependency_tracker.rb
- lib/action_view/dependency_tracker/erb_tracker.rb
- lib/action_view/dependency_tracker/ruby_tracker.rb
- lib/action_view/deprecator.rb
- lib/action_view/digestor.rb
- lib/action_view/flows.rb
- lib/action_view/gem_version.rb
- lib/action_view/helpers.rb
- lib/action_view/helpers/active_model_helper.rb
- lib/action_view/helpers/asset_tag_helper.rb
- lib/action_view/helpers/asset_url_helper.rb
- lib/action_view/helpers/atom_feed_helper.rb
- lib/action_view/helpers/cache_helper.rb
- lib/action_view/helpers/capture_helper.rb
- lib/action_view/helpers/content_exfiltration_prevention_helper.rb
- lib/action_view/helpers/controller_helper.rb
- lib/action_view/helpers/csp_helper.rb
- lib/action_view/helpers/csrf_helper.rb
- lib/action_view/helpers/date_helper.rb
- lib/action_view/helpers/debug_helper.rb
- lib/action_view/helpers/form_helper.rb
- lib/action_view/helpers/form_options_helper.rb
- lib/action_view/helpers/form_tag_helper.rb
- lib/action_view/helpers/javascript_helper.rb
- lib/action_view/helpers/number_helper.rb
- lib/action_view/helpers/output_safety_helper.rb
- lib/action_view/helpers/rendering_helper.rb
- lib/action_view/helpers/sanitize_helper.rb
- lib/action_view/helpers/tag_helper.rb
- lib/action_view/helpers/tags.rb
- lib/action_view/helpers/tags/base.rb
- lib/action_view/helpers/tags/check_box.rb
- lib/action_view/helpers/tags/checkable.rb
- lib/action_view/helpers/tags/collection_check_boxes.rb
- lib/action_view/helpers/tags/collection_helpers.rb
- lib/action_view/helpers/tags/collection_radio_buttons.rb
- lib/action_view/helpers/tags/collection_select.rb
- lib/action_view/helpers/tags/color_field.rb
- lib/action_view/helpers/tags/date_field.rb
- lib/action_view/helpers/tags/date_select.rb
- lib/action_view/helpers/tags/datetime_field.rb
- lib/action_view/helpers/tags/datetime_local_field.rb
- lib/action_view/helpers/tags/datetime_select.rb
- lib/action_view/helpers/tags/email_field.rb
- lib/action_view/helpers/tags/file_field.rb
- lib/action_view/helpers/tags/grouped_collection_select.rb
- lib/action_view/helpers/tags/hidden_field.rb
- lib/action_view/helpers/tags/label.rb
- lib/action_view/helpers/tags/month_field.rb
- lib/action_view/helpers/tags/number_field.rb
- lib/action_view/helpers/tags/password_field.rb
- lib/action_view/helpers/tags/placeholderable.rb
- lib/action_view/helpers/tags/radio_button.rb
- lib/action_view/helpers/tags/range_field.rb
- lib/action_view/helpers/tags/search_field.rb
- lib/action_view/helpers/tags/select.rb
- lib/action_view/helpers/tags/select_renderer.rb
- lib/action_view/helpers/tags/tel_field.rb
- lib/action_view/helpers/tags/text_area.rb
- lib/action_view/helpers/tags/text_field.rb
- lib/action_view/helpers/tags/time_field.rb
- lib/action_view/helpers/tags/time_select.rb
- lib/action_view/helpers/tags/time_zone_select.rb
- lib/action_view/helpers/tags/translator.rb
- lib/action_view/helpers/tags/url_field.rb
- lib/action_view/helpers/tags/week_field.rb
- lib/action_view/helpers/tags/weekday_select.rb
- lib/action_view/helpers/text_helper.rb
- lib/action_view/helpers/translation_helper.rb
- lib/action_view/helpers/url_helper.rb
- lib/action_view/layouts.rb
- lib/action_view/log_subscriber.rb
- lib/action_view/lookup_context.rb
- lib/action_view/model_naming.rb
- lib/action_view/path_registry.rb
- lib/action_view/path_set.rb
- lib/action_view/railtie.rb
- lib/action_view/record_identifier.rb
- lib/action_view/render_parser.rb
- lib/action_view/render_parser/prism_render_parser.rb
- lib/action_view/render_parser/ripper_render_parser.rb
- lib/action_view/renderer/abstract_renderer.rb
- lib/action_view/renderer/collection_renderer.rb
- lib/action_view/renderer/object_renderer.rb
- lib/action_view/renderer/partial_renderer.rb
- lib/action_view/renderer/partial_renderer/collection_caching.rb
- lib/action_view/renderer/renderer.rb
- lib/action_view/renderer/streaming_template_renderer.rb
- lib/action_view/renderer/template_renderer.rb
- lib/action_view/rendering.rb
- lib/action_view/routing_url_for.rb
- lib/action_view/template.rb
- lib/action_view/template/error.rb
- lib/action_view/template/handlers.rb
- lib/action_view/template/handlers/builder.rb
- lib/action_view/template/handlers/erb.rb
- lib/action_view/template/handlers/erb/erubi.rb
- lib/action_view/template/handlers/html.rb
- lib/action_view/template/handlers/raw.rb
- lib/action_view/template/html.rb
- lib/action_view/template/inline.rb
- lib/action_view/template/raw_file.rb
- lib/action_view/template/renderable.rb
- lib/action_view/template/resolver.rb
- lib/action_view/template/sources.rb
- lib/action_view/template/sources/file.rb
- lib/action_view/template/text.rb
- lib/action_view/template/types.rb
- lib/action_view/template_details.rb
- lib/action_view/template_path.rb
- lib/action_view/test_case.rb
- lib/action_view/testing/resolvers.rb
- lib/action_view/unbound_template.rb
- lib/action_view/version.rb
- lib/action_view/view_paths.rb