There's no documentation for this item.
Source Code
# File action_view/partials.rb, line 174 def partial_variable_name(partial_name) @@partial_variable_names ||= {} @@partial_variable_names[partial_name] ||= partial_name.split('/').last.split('.').first.intern end
<code/>and<pre/>for code samples.