Sha256: 70bdf6ce0dfeb7cebeefaa314935a043bfe969f015fdbccf64bfd2936e0cf4ef

Contents?: true

Size: 132 Bytes

Versions: 24

Compression:

Stored size: 132 Bytes

Contents

require 'multi_json'

module Serverspec::Type
  class JsonFile < File
    def content
      MultiJson.load(super)
    end
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
serverspec-2.37.2 lib/serverspec/type/json_file.rb
serverspec-2.37.1 lib/serverspec/type/json_file.rb
serverspec-2.37.0 lib/serverspec/type/json_file.rb
serverspec-2.36.1 lib/serverspec/type/json_file.rb