Flowdock
method

method_name

Importance_0
v2.3.2 - Show latest stable - 0 notes - Class: ActionView::Renderable
method_name(local_assigns) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/renderable.rb, line 45
    def method_name(local_assigns)
      if local_assigns && local_assigns.any?
        method_name = method_name_without_locals.dup
        method_name << "_locals_#{local_assigns.keys.map { |k| k.to_s }.sort.join('_')}"
      else
        method_name = method_name_without_locals
      end
      method_name.to_sym
    end
Register or log in to add new notes.