Sha256: 2e21c52dba5f65e43a87c2e931acc3af695f766695cd4830efc31e6487f7d164

Contents?: true

Size: 407 Bytes

Versions: 2

Compression:

Stored size: 407 Bytes

Contents

# frozen_string_literal: true

require "sod"

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

        description "Add IRB Kit gem."

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

        default { Container[:configuration].build_irb_kit }

        def call(value = nil) = input.build_irb_kit = value
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubysmith-6.10.0 lib/rubysmith/cli/actions/irb_kit.rb
rubysmith-6.9.0 lib/rubysmith/cli/actions/irb_kit.rb