method
set_default_accessors!
v4.1.8 -
Show latest stable
- Class:
Rails::Generators::AppBase
set_default_accessors!()protected
No documentation available.
# File railties/lib/rails/generators/app_base.rb, line 149
def set_default_accessors!
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(options[:template], Dir.pwd)
else
options[:template]
end
end