module Redirus

Constants

VERSION

Public Class Methods

config() click to toggle source
# File lib/redirus.rb, line 11
def self.config
  @@config ||= Redirus::Config.new(config_path)
end
config_path() click to toggle source
# File lib/redirus.rb, line 15
def self.config_path
  @@config_path ||= ARGV[0] || 'config.yml'
end
config_path=(path) click to toggle source
# File lib/redirus.rb, line 19
def self.config_path=(path)
  @@config_path = path
  @@config = nil
end
root() click to toggle source
# File lib/redirus.rb, line 24
def self.root
  File.dirname __dir__
end