Sha256: 8eb2596622adf437edae79e00512be86a47b3e7d7d5a372fbfea9cf445c7860f

Contents?: true

Size: 142 Bytes

Versions: 29

Compression:

Stored size: 142 Bytes

Contents

module Fontist
  module Helpers
    def self.parse_to_object(data)
      JSON.parse(data.to_json, object_class: OpenStruct)
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
fontist-1.8.9 lib/fontist/helpers.rb
fontist-1.8.8 lib/fontist/helpers.rb
fontist-1.8.7 lib/fontist/helpers.rb
fontist-1.8.6 lib/fontist/helpers.rb
fontist-1.8.5 lib/fontist/helpers.rb
fontist-1.8.4 lib/fontist/helpers.rb
fontist-1.8.3 lib/fontist/helpers.rb
fontist-1.8.2 lib/fontist/helpers.rb
fontist-1.8.1 lib/fontist/helpers.rb