method

features

rails latest stable - Class: Rails::Generators::DevcontainerGenerator

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

features()
private

No documentation available.

# File railties/lib/rails/generators/rails/devcontainer/devcontainer_generator.rb, line 97
        def features
          return @features if @features

          @features = {
            "ghcr.io/devcontainers/features/github-cli:1" => {}
          }

          @features["ghcr.io/rails/devcontainer/features/activestorage"] = {} if options[:active_storage]
          @features["ghcr.io/devcontainers/features/node:1"] = {} if options[:node]

          @features.merge!(database.feature) if database.feature

          @features
        end