Sha256: 97e1293eb656f9b00bf496c97069cb61ff69c2d76d28ba5cf8c9729f96c7b8bc
Contents?: true
Size: 529 Bytes
Versions: 15
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true module Jets module Command class InitializersCommand < Base # :nodoc: include EnvironmentArgument desc "initializers", "Print out all defined initializers in the order they are invoked by Jets." def perform extract_environment_option_from_argument require_application_and_environment! Jets.application.initializers.tsort_each do |initializer| say "#{initializer.context_class}.#{initializer.name}" end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems