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