Sha256: 296496bc8278672b5f8c778d570d9f91a87a7ef1bfc1f5432e77dc80d65c4041

Contents?: true

Size: 262 Bytes

Versions: 2

Compression:

Stored size: 262 Bytes

Contents

require_relative 'json'
require 'yaml'
module Arli
  module Lock
    module Formats
      class Yaml < Json
        extension :yml

        def footer
          "# vi:syntax=yaml\n" +
          YAML.dump(unique_libraries)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
arli-1.0.0 lib/arli/lock/formats/yaml.rb
arli-0.9.0 lib/arli/lock/formats/yaml.rb