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.10.16 lib/fidor/schema.rb
fidor_schema-0.10.15 lib/fidor/schema.rb
fidor_schema-0.10.14 lib/fidor/schema.rb
fidor_schema-0.10.12 lib/fidor/schema.rb
fidor_schema-0.10.11 lib/fidor/schema.rb
fidor_schema-0.10.10 lib/fidor/schema.rb
fidor_schema-0.10.9 lib/fidor/schema.rb
fidor_schema-0.10.8 lib/fidor/schema.rb
fidor_schema-0.10.7 lib/fidor/schema.rb
fidor_schema-0.10.6 lib/fidor/schema.rb
fidor_schema-0.10.5 lib/fidor/schema.rb
fidor_schema-0.10.4 lib/fidor/schema.rb
fidor_schema-0.10.2 lib/fidor/schema.rb
fidor_schema-0.10.1 lib/fidor/schema.rb
fidor_schema-0.10.0 lib/fidor/schema.rb
fidor_schema-0.8.0 lib/fidor/schema.rb
fidor_schema-0.7.0 lib/fidor/schema.rb
fidor_schema-0.6.0 lib/fidor/schema.rb
fidor_schema-0.5.1 lib/fidor/schema.rb
fidor_schema-0.5.0 lib/fidor/schema.rb