module Mmi

Constants

MINECRAFT_DIR
MMI_CACHE_DIR
VERSION

Public Class Methods

cache_dir() click to toggle source
# File lib/mmi.rb, line 13
def self.cache_dir
        MMI_CACHE_DIR
end
debug(text) click to toggle source
# File lib/mmi.rb, line 25
def self.debug(text)
        if ENV['MMI_ENV']=='dev'
                puts text
        end
end
fail!(text) click to toggle source
# File lib/mmi.rb, line 39
def self.fail!(text)
        STDERR.puts text
        Kernel.exit 1
end
info(text) click to toggle source
# File lib/mmi.rb, line 31
def self.info(text)
        puts text
end
minecraft_dir() click to toggle source
# File lib/mmi.rb, line 17
def self.minecraft_dir
        MINECRAFT_DIR
end
warn(text) click to toggle source
# File lib/mmi.rb, line 35
def self.warn(text)
        puts text
end