Sha256: 5d489156bb5154772b5872615692f1fa1849aadaa0d7448953b5ada5c9e0e6b5

Contents?: true

Size: 219 Bytes

Versions: 5

Compression:

Stored size: 219 Bytes

Contents

module Avrocado
  EXAMPLE_SCHEMA_PATH = './config/example-schema.avsc'

  class Schema
    def self.parse(path = EXAMPLE_SCHEMA_PATH)
      Java::Avro::Schema::Parser.new.parse(java.io.File.new(path))
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
avrocado-0.2.2 lib/avrocado/schema.rb
avrocado-0.2.1 lib/avrocado/schema.rb
avrocado-0.2.0 lib/avrocado/schema.rb
avrocado-0.1.1 lib/avrocado/schema.rb
avrocado-0.1.0 lib/avrocado/schema.rb