Module: Mooncats

Defined in:
lib/mooncats.rb,
lib/mooncats/image.rb,
lib/mooncats/design.rb,
lib/mooncats/dataset.rb,
lib/mooncats/structs.rb,
lib/mooncats/version.rb,
lib/mooncats/composite.rb

Defined Under Namespace

Modules: Dataset Classes: Design, DesignSeries, Image, Metadata, Tool

Constant Summary collapse

POSES =

wrap metadata (e.g. pose, fur, facing, color, etc.)

in structs for easy/easier access)
[
  'Standing',  ## 00
  'Sleeping',  ## 01
  'Pouncing',  ## 10
  'Stalking',  ## 11
]
OLD_FACES =

old names for face (expressions)

[   ## old names for face (expressions)
  'Smile',              ## 00
  'Frown (Look Down)',  ## 01
  'Frown (Look Up)',    ## 10
  'Flat Whiskers',      ## 11
]
FACES =

face expressions

[  ## face expressions
  'Smiling',            ## 00
  'Grumpy',             ## 01
  'Pouting',            ## 10
  'Shy',                ## 11
]
OLD_FURS =

old names for fur (patterns)

[    ## old names for fur (patterns)
  'Solid',      ## 00
  'Striped',    ## 01
  'Eyepatch',   ## 10
  'Half/Half',  ## 11
]
FURS =

fur (patterns)

[    ##  fur (patterns)
  'Pure',      ## 00
  'Tabby',     ## 01
  'Spotted',   ## 10
  'Tortie',    ## 11
]
FACINGS =
[
  'Left',   # 0
  'Right',  # 1
]
MAJOR =
1
MINOR =
1
PATCH =
1
VERSION =
[MAJOR,MINOR,PATCH].join('.')

Class Method Summary collapse

Class Method Details



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



87
88
89
# File 'lib/mooncats.rb', line 87

def self.main( args=ARGV )
  Tool.new.run( args )
end

.rootObject



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

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

.versionObject



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

def self.version
  VERSION
end