Sha256: 4ac2c1e55eb39273a75c3911431f4317381bbe10083ad1babe3a442771e5e642

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 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(value = nil) = settings.build_irb_kit = value
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubysmith-7.1.0 lib/rubysmith/cli/actions/irb_kit.rb
rubysmith-7.0.0 lib/rubysmith/cli/actions/irb_kit.rb