Sha256: b3500e24b12973557c97cdb079e418a7c72bb5dc644515b358d16841b5f987ee

Contents?: true

Size: 382 Bytes

Versions: 34

Compression:

Stored size: 382 Bytes

Contents

# encoding: utf-8
module Fidor
  class Schema
    # Get the path to schema files delivered by this gem. 
    # @example
    # 	Fidor::Schema.path   # => /home/me/gems/.../fidor_schema/schema
    #
    # @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

34 entries across 34 versions & 1 rubygems

Version Path
fidor_schema-0.4.3 lib/fidor/schema.rb
fidor_schema-0.4.2 lib/fidor/schema.rb
fidor_schema-0.4.1 lib/fidor/schema.rb
fidor_schema-0.4.0 lib/fidor/schema.rb
fidor_schema-0.3.5 lib/fidor/schema.rb
fidor_schema-0.3.4 lib/fidor/schema.rb
fidor_schema-0.3.3 lib/fidor/schema.rb
fidor_schema-0.3.2 lib/fidor/schema.rb
fidor_schema-0.3.1 lib/fidor/schema.rb
fidor_schema-0.3.0 lib/fidor/schema.rb
fidor_schema-0.2.2 lib/fidor/schema.rb
fidor_schema-0.2.1 lib/fidor/schema.rb
fidor_schema-0.2.0 lib/fidor/schema.rb
fidor_schema-0.1.18 lib/fidor/schema.rb