instance method
undef_my_compiled_methods!
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
undef_my_compiled_methods!()
remove any compiled methods that look like they might belong to me
Source
# File actionpack/lib/action_view/reloadable_template.rb, line 110
def undef_my_compiled_methods!
ActionView::Base::CompiledTemplates.public_instance_methods.grep(/#{Regexp.escape(method_name_without_locals)}(?:_locals_)?/).each do |m|
ActionView::Base::CompiledTemplates.send(:remove_method, m)
end
end
Defined in actionpack/lib/action_view/reloadable_template.rb line 110
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::ReloadableTemplate