module ROM::Lotus
Constants
- VERSION
Attributes
config[R]
Public Class Methods
setup(app) { |config| ... }
click to toggle source
# File lib/rom-lotus.rb, line 27 def self.setup(app) app.synchronize do @config = Config.new(app.configuration.root.join('../..').realpath) yield(@config) ROM.setup(config.repositories) %w(relations mappers commands).each do |component| Dir["#{config.root}/lib/*/#{component}/**/*.rb"].each do |file| require file end end ROM.finalize end end