class Rails::Generators::NamedBase
def assign_names!(name) #:nodoc:
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
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