Sha256: 49010aff91459ada26bb2b72486358bbbae557a44ff8920f0846ab4bd88ad451

Contents?: true

Size: 326 Bytes

Versions: 8

Compression:

Stored size: 326 Bytes

Contents

# encoding: utf-8
module HappyPdf
  class Schema
    # Get the path to schema files. So it can be used f.ex. with json_schema_tools
    # gem
    # @param [String] version folder name to use
    def self.path(version='v1.0')
      File.expand_path( File.join('../../schema', version), File.dirname(__FILE__))
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
happypdf_json_schema-0.1.5 lib/happypdf/schema.rb
happypdf_json_schema-0.1.4 lib/happypdf/schema.rb
happypdf_json_schema-0.1.3 lib/happypdf/schema.rb
happypdf_json_schema-0.1.2 lib/happypdf/schema.rb
happypdf_json_schema-0.1.1 lib/happypdf/schema.rb
happypdf_json_schema-0.1.0 lib/happypdf/schema.rb
happypdf_json_schema-0.0.3 lib/happypdf/schema.rb
happypdf_json_schema-0.0.2 lib/happypdf/schema.rb