Flowdock
method

app_name

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActionDispatch::Routing::Mapper::Base
app_name(app) private

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_dispatch/routing/mapper.rb, line 524
          def app_name(app)
            return unless app.respond_to?(:routes)

            if app.respond_to?(:railtie_name)
              app.railtie_name
            else
              class_name = app.class.is_a?(Class) ? app.name : app.class.name
              ActiveSupport::Inflector.underscore(class_name).tr("/", "_")
            end
          end
Register or log in to add new notes.