method
set_default_accessors!
v7.0.0 -
Show latest stable
- Class:
Rails::Generators::AppBase
set_default_accessors!()private
No documentation available.
# File railties/lib/rails/generators/app_base.rb, line 148
def set_default_accessors! # :doc:
self.destination_root = File.expand_path(app_path, destination_root)
self.rails_template = case options[:template]
when /^https?:\/\//
options[:template]
when String
File.expand_path(`echo #{options[:template]}`.strip)
else
options[:template]
end
end