Flowdock
method

determine_default_helper_class

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: ActionView::TestCase::Behavior::ClassMethods
determine_default_helper_class(name) 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/test_case.rb, line 53
        def determine_default_helper_class(name)
          mod = name.sub(/Test$/, '').constantize
          mod.is_a?(Class) ? nil : mod
        rescue NameError
          nil
        end
Register or log in to add new notes.