Sha256: 177976ba5dcd97dac01c3dc6e87d17f2f72f50b22d68cac7e69f35cd5e1ef0f6

Contents?: true

Size: 235 Bytes

Versions: 3

Compression:

Stored size: 235 Bytes

Contents

module Runbook::Statements
  class Ask < Runbook::Statement
    attr_reader :prompt, :into, :default

    def initialize(prompt, into:, default: nil)
      @prompt = prompt
      @into = into
      @default = default
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
runbook-0.14.0 lib/runbook/statements/ask.rb
runbook-0.13.0 lib/runbook/statements/ask.rb
runbook-0.12.1 lib/runbook/statements/ask.rb