Flowdock
method

assign_names!

Importance_0
v3.0.5 - Show latest stable - 0 notes - Class: Rails::Generators::NamedBase
assign_names!(name) 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 82
        def assign_names!(name) #:nodoc:
          @class_path = name.include?('/') ? name.split('/') : name.split('::')
          @class_path.map! { |m| m.underscore }
          @file_name = @class_path.pop
        end
Register or log in to add new notes.