Sha256: ff5904427071d88cd6d16ed1542711c49eb8f37f6555e640bdcfa597aec99866

Contents?: true

Size: 345 Bytes

Versions: 3

Compression:

Stored size: 345 Bytes

Contents

module Bora
  class Output
    def initialize(output)
      @output = output
    end

    def key
      @output.output_key
    end

    def value
      @output.output_value
    end

    def to_s
      desc = @output.description ? " (#{@output.description})" : ""
      "#{@output.output_key} - #{@output.output_value} #{desc}"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bora-0.9.4 lib/bora/output.rb
bora-0.9.3 lib/bora/output.rb
bora-0.9.2 lib/bora/output.rb