instance method set_default_accessors!

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.0.20

Signature

set_default_accessors!()

No documentation comment.

Source
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 342
      def set_default_accessors!
        self.rails_template = case options[:template]
          when /^https?:\/\//
            options[:template]
          when String
            File.expand_path(options[:template], Dir.pwd)
          else
            options[:template]
        end
      end

Defined in railties/lib/rails/generators/rails/app/app_generator.rb line 342 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Generators::AppGenerator

Type at least 2 characters to search.

↑↓ navigate · open · esc close