method

namespace

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: Rails::Generators::NamedBase
namespace() protected

No documentation

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

Hide source
# File railties/lib/rails/generators/named_base.rb, line 65
        def namespace
          @namespace ||= if defined?(Rails) && Rails.application
            Rails.application.class.parents.detect { |n| n.respond_to?(:_railtie) }
          end
        end
Register or log in to add new notes.