instance method
build_method_name
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.0.20 PrivateSignature
build_method_name(locals)
No documentation comment.
Parameters
-
localsreq
Source
# File actionpack/lib/action_view/template.rb, line 273
def build_method_name(locals)
@method_names[locals.keys.hash] ||= "_#{identifier_method_name}__#{@identifier.hash}_#{__id__}_#{locals.keys.hash}".gsub('-', "_")
end
Defined in actionpack/lib/action_view/template.rb line 273
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Template