module Nova
A Game management software. Also note that a method named Nova
is available under the top-level namespace, which acts as an alias for {Nova.create}.
@api public
Constants
- VERSION
The version of
Nova
.
Attributes
logger[W]
Public Class Methods
create(options, &block)
click to toggle source
This creates a star with a given block, unless it already exists; if it does, it just modifies that star.
@param options [Hash{Symbol => Symbol}] the first key value pair
is used to determine the star type and star name, while the rest is ignored.
@yield [] to create the star. @return [Class] the new star.
# File lib/nova.rb, line 38 def self.create(options, &block) Constructor.new(options, &block).modify_or_create end
logger()
click to toggle source
The Nova
logger. By default outputs to STDOUT.
@return {Logger}
# File lib/nova.rb, line 22 def self.logger @logger ||= Logger.new(STDOUT) end