module Muve
Muve
¶ ↑
The muve gem provides a abstraction layer for the Muve
resources which include:
-
locations, the places of interest to be travelled to and fro
-
travellers, the wonderful creatures doing the travelling
-
movements, the appearances of a traveller at a location
Although the gem is named muve which is short and sweet, the codename for the project is Muvement because is serves as a tool to help with geolocation services.
This gem is mostly for internal use and I expect it to be refactored numerous times to improve its usability and implementation.
Constants
- VERSION
Public Class Methods
Initialize Muve
with an optional connection to the datastore. This could be a MongoDB or PostgreSQL connection for instance. Besides a connection, an adaptor will be needed to actually handle the interaction between the models and the datastore through the given connection.
# File lib/muve.rb, line 70 def self.init(connection=nil, database=nil) Model.connection = connection if connection Model.database = database if database end
# File lib/muve.rb, line 75 def self.raise_something raise NotConfigured end