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