Module: Mir

Defined in:
lib/mir/disk.rb,
lib/mir.rb,
lib/mir/index.rb,
lib/mir/utils.rb,
lib/mir/config.rb,
lib/mir/logger.rb,
lib/mir/options.rb,
lib/mir/version.rb,
lib/mir/application.rb,
lib/mir/disk/amazon.rb,
lib/mir/models/resource.rb,
lib/mir/models/app_setting.rb

Overview

Represents a local file asset

Defined Under Namespace

Modules: Disk, Models, Utils Classes: Application, Config, Index, Options, UndefinedConfigValue

Constant Summary collapse

VERSION =
[0,1,5]

Class Method Summary collapse

Class Method Details

.loggerLogger

Returns the global logger instance

Returns:

  • (Logger)


12
13
14
# File 'lib/mir/logger.rb', line 12

def self.logger
  @@logger
end

.logger=(logger) ⇒ Object

Assigns a global logger

Parameters:

  • logger (Logger)


6
7
8
# File 'lib/mir/logger.rb', line 6

def self.logger=(logger)
  @@logger = logger
end

.versionObject



4
5
6
# File 'lib/mir/version.rb', line 4

def self.version
  VERSION.join('.')
end