Sha256: 8fb81c249862758b48c8b5d92b3a007ce8662e575a5dfe632c4c68a97f56d9c0
Contents?: true
Size: 493 Bytes
Versions: 2
Compression:
Stored size: 493 Bytes
Contents
# frozen_string_literal: true require "refinements/structs" require "sod" module Rubysmith module CLI module Actions # Stores Zeitwerk flag. class Zeitwerk < Sod::Action include Import[:input] using ::Refinements::Structs description "Add Zeitwerk gem." on "--[no-]zeitwerk" default { Container[:configuration].build_zeitwerk } def call(value = default) = input.merge!(build_zeitwerk: value) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-5.1.0 | lib/rubysmith/cli/actions/zeitwerk.rb |
rubysmith-5.0.1 | lib/rubysmith/cli/actions/zeitwerk.rb |