Sha256: 3bf08633d6a3f5af9531b5f5d54f90d5f27c24af396d4ac2c401b29e149c622c

Contents?: true

Size: 406 Bytes

Versions: 8

Compression:

Stored size: 406 Bytes

Contents

# frozen_string_literal: true

require "sod"

module Rubysmith
  module CLI
    module Actions
      # Stores IRB Kit flag.
      class IRBKit < Sod::Action
        include Import[:settings]

        description "Add IRB Kit gem."

        on "--[no-]irb-kit"

        default { Container[:settings].build_irb_kit }

        def call(boolean) = settings.build_irb_kit = boolean
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rubysmith-7.9.0 lib/rubysmith/cli/actions/irb_kit.rb
rubysmith-7.8.0 lib/rubysmith/cli/actions/irb_kit.rb
rubysmith-7.7.0 lib/rubysmith/cli/actions/irb_kit.rb
rubysmith-7.6.0 lib/rubysmith/cli/actions/irb_kit.rb
rubysmith-7.5.0 lib/rubysmith/cli/actions/irb_kit.rb
rubysmith-7.4.0 lib/rubysmith/cli/actions/irb_kit.rb
rubysmith-7.3.0 lib/rubysmith/cli/actions/irb_kit.rb
rubysmith-7.2.0 lib/rubysmith/cli/actions/irb_kit.rb