Sha256: 5627f650fa142595338985e2898bc605d24f6e2bbd50034482b53a5ffcc52109
Contents?: true
Size: 502 Bytes
Versions: 2
Compression:
Stored size: 502 Bytes
Contents
# frozen_string_literal: true require "refinements/structs" require "sod" module Rubysmith module CLI module Actions # Stores SimpleCov flag. class SimpleCov < Sod::Action include Import[:input] using ::Refinements::Structs description "Add SimpleCov gem." on "--[no-]simple_cov" default { Container[:configuration].build_simple_cov } def call(value = default) = input.merge!(build_simple_cov: 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/simple_cov.rb |
rubysmith-5.0.1 | lib/rubysmith/cli/actions/simple_cov.rb |