class Fidor::Schema

Constants

VERSION

Public Class Methods

path(version='v1.0') click to toggle source

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

# File lib/fidor/schema.rb, line 9
def self.path(version='v1.0')
  File.expand_path( File.join('../../schema', version), File.dirname(__FILE__))
end