Sha256: 2ad95bea2dbd738ee6cbcfe26f983033d9f99981d5953e62b75d639dc22d7326

Contents?: true

Size: 534 Bytes

Versions: 1

Compression:

Stored size: 534 Bytes

Contents

# frozen_string_literal: true

require "rubycritic/commands/base"
require "skunk/commands/status_reporter"

module Skunk
  module Command
    # Base class for `Skunk` commands. It knows how to build a command with
    # options. It always uses a [Skunk::Command::StatusReporter] as its
    # reporter object.
    class Base < RubyCritic::Command::Base
      def initialize(options)
        @options = options
        @status_reporter = Skunk::Command::StatusReporter.new(@options)
      end

      def share(_); end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
skunk-0.5.3 lib/skunk/commands/base.rb