Module: Originals

Defined in:
lib/originals.rb,
lib/originals/tool.rb,
lib/originals/version.rb

Defined Under Namespace

Classes: Factory, Image, Tool

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details



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

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

.factoryObject

“shared” single (default) instance



118
119
120
# File 'lib/originals.rb', line 118

def self.factory   ## "shared" single (default) instance
    @factory ||= Factory.new
end

.rootObject



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

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

.versionObject



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

def self.version
  VERSION
end