Sha256: 8458455653fa2ec810d2a4e42be9b24192b3936a1c42c67e5f328d06d9f4d681

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

module IMW
  module Serializer
    class JsonSerializer

      def initialize file_url, mode
        @file_url = file_url
        @mode     = mode
        File.open(file_url, mode)
      end

      def write line
        File.write(line)
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
imw-0.3.0 lib/imw/serializer/json_serializer.rb