Module: RareMap

Defined in:
lib/rare_map.rb,
lib/rare_map/model.rb,
lib/rare_map/table.rb,
lib/rare_map/column.rb,
lib/rare_map/errors.rb,
lib/rare_map/options.rb,
lib/rare_map/version.rb,
lib/rare_map/relation.rb,
lib/rare_map/config_loader.rb,
lib/rare_map/model_builder.rb,
lib/rare_map/rails_locator.rb,
lib/rare_map/schema_parser.rb,
lib/rare_map/schema_reader.rb,
lib/rare_map/model_generator.rb,
lib/rare_map/database_profile.rb

Overview

RareMap

Defined Under Namespace

Modules: ConfigLoader, Errors, ModelBuilder, ModelGenerator, RailsLocator, SchemaParser, SchemaReader Classes: Column, DatabaseProfile, Mapper, Model, Options, Relation, Table

Constant Summary collapse

MAJOR =

The major version of RareMap

2
MINOR =

The minor version of RareMap

2
PATCH =

The patch version of RareMap

1
VERSION =

The version of RareMap

[MAJOR, MINOR, PATCH].compact.join('.')

Class Method Summary collapse

Class Method Details

.mappingObject

A class method to make RareMap::Mapper#mapping easy to be called.



12
13
14
# File 'lib/rare_map.rb', line 12

def self.mapping
  Mapper.new.mapping
end