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
.banner ⇒ Object
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
|
.factory ⇒ Object
“shared” single (default) instance
118
119
120
|
# File 'lib/originals.rb', line 118
def self.factory @factory ||= Factory.new
end
|
.root ⇒ Object
17
18
19
|
# File 'lib/originals/version.rb', line 17
def self.root
File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )
end
|
.version ⇒ Object
9
10
11
|
# File 'lib/originals/version.rb', line 9
def self.version
VERSION
end
|