Sha256: 0493fdc08656dae395b6ea074fc49b43e7d6617281796c1a5f284d706c71385b
Contents?: true
Size: 467 Bytes
Versions: 3
Compression:
Stored size: 467 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" require "sod" module Rubysmith module CLI module Actions # Forces maximum settings. class Maximum < Sod::Action include Import[:settings] using ::Refinements::Struct description "Use maximum options." on "--max" default { Container[:settings].build_maximum } def call(*) = settings.merge! settings.maximize end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-7.2.0 | lib/rubysmith/cli/actions/maximum.rb |
rubysmith-7.1.0 | lib/rubysmith/cli/actions/maximum.rb |
rubysmith-7.0.0 | lib/rubysmith/cli/actions/maximum.rb |