Module: EventDb

Defined in:
lib/eventdb/models.rb,
lib/eventdb/reader.rb,
lib/eventdb/schema.rb,
lib/eventdb/version.rb,
lib/eventdb/calendar.rb,
lib/eventdb/database.rb,
lib/eventdb/outline_reader.rb

Defined Under Namespace

Modules: Model Classes: CreateDb, Database, EventCalendar, EventCursor, EventReader, MemoryDatabase, OutlineReader

Constant Summary collapse

Models =

module Model

Model
MAJOR =

todo: namespace inside version or something - why? why not??

1
MINOR =
1
PATCH =
2
VERSION =
[MAJOR,MINOR,PATCH].join('.')
MemDatabase =

class Database

MemoryDatabase
Memory =
MemoryDatabase

Class Method Summary collapse

Class Method Details



13
14
15
# File 'lib/eventdb/version.rb', line 13

def self.banner
  "eventdb/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] in root (#{root})"
end

.rootObject



17
18
19
# File 'lib/eventdb/version.rb', line 17

def self.root
  File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )
end

.versionObject



9
10
11
# File 'lib/eventdb/version.rb', line 9

def self.version
  VERSION
end