Module: Mooncats
- Defined in:
- lib/mooncats.rb,
lib/mooncats/image.rb,
lib/mooncats/dataset.rb,
lib/mooncats/structs.rb,
lib/mooncats/version.rb,
lib/mooncats/composite.rb
Defined Under Namespace
Modules: Dataset
Classes: Design, Image, Metadata, Tool
Constant Summary
collapse
- POSES =
wrap metadata (e.g. pose, fur, facing, color, etc.)
in structs for easy/easier access)
[
'Standing', 'Sleeping', 'Pouncing', 'Stalking', ]
- FACES =
[
'Smile', 'Frown (Look Down)', 'Frown (Look Up)', 'Flat Whiskers', ]
- FURS =
[
'Solid', 'Striped', 'Eyepatch', 'Half/Half', ]
- FACINGS =
[
'Left', 'Right', ]
- MAJOR =
0
- MINOR =
1
- PATCH =
2
- VERSION =
[MAJOR,MINOR,PATCH].join('.')
Class Method Summary
collapse
Class Method Details
.banner ⇒ Object
13
14
15
|
# File 'lib/mooncats/version.rb', line 13
def self.banner
"mooncats/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] in (#{root})"
end
|
.main(args = ARGV) ⇒ Object
82
83
84
|
# File 'lib/mooncats.rb', line 82
def self.main( args=ARGV )
Tool.new.run( args )
end
|
.root ⇒ Object
17
18
19
|
# File 'lib/mooncats/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/mooncats/version.rb', line 9
def self.version
VERSION
end
|