Sha256: 47f9c6b6135851c899da54fdfa48ae61c87a41bc5d9f8b107299931d039c31f4

Contents?: true

Size: 412 Bytes

Versions: 17

Compression:

Stored size: 412 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'
require 'eac_cli/runner_with/output_item/base_formatter'
require 'yaml'

module EacCli
  module RunnerWith
    module OutputItem
      class YamlFormatter < ::EacCli::RunnerWith::OutputItem::BaseFormatter
        # @return [String]
        def to_output
          ::YAML.dump(item_hash.deep_stringify_keys)
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
eac_cli-0.42.0 lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_cli-0.40.1 lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_cli-0.40.0 lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_cli-0.39.0 lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_cli-0.38.1 lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_tools-0.82.0 sub/eac_cli/lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_tools-0.81.0 sub/eac_cli/lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_tools-0.80.0 sub/eac_cli/lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_tools-0.79.0 sub/eac_cli/lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_tools-0.78.0 sub/eac_cli/lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_tools-0.77.1 sub/eac_cli/lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_tools-0.77.0 sub/eac_cli/lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_cli-0.38.0 lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_tools-0.76.1 sub/eac_cli/lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_tools-0.76.0 sub/eac_cli/lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_tools-0.75.2 sub/eac_cli/lib/eac_cli/runner_with/output_item/yaml_formatter.rb
eac_cli-0.37.0 lib/eac_cli/runner_with/output_item/yaml_formatter.rb