Sha256: cd3a3554422ccb439473c3198a9a4357ed733076b5a6225cc9e538a5c43329a9

Contents?: true

Size: 343 Bytes

Versions: 2

Compression:

Stored size: 343 Bytes

Contents

# frozen_string_literal: true

module Pcli
  module Services
    class Prompt
      delegate_missing_to :base

      def initialize(input:, output:)
        @base = TTY::Prompt.new(input: input, output: output)
      end

      def self.dependencies
        %w[input output]
      end

      private

      attr_reader :base
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pcli-0.1.1 lib/pcli/services/prompt.rb
pcli-0.1.0 lib/pcli/services/prompt.rb