Bug #12
Einarc: eliminate global constants
| Status: | New | Start: | 01/15/2009 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | - | |||
| Target version: | 1.4 | |||
Description
Einarc now uses several global constants in its modules, such as:
module RAID
$EINARC_LIB = '/var/lib/einarc/tools'
$EINARC_VAR = '/var/lib/einarc'
$TARGET = 'x86_64'
$RUBY_SHARE_DIR = '/usr/local/share/ruby/site_ruby/1.8/raid'
end
There's no real need in them. All these global constants can be moved truly in RAID module namespace and referenced using RAID::EINARC_LIB, RAID::EINARC_VAR, etc
History
Updated by Mikhail Yakshin 1115 days ago
- Project changed from Inquisitor to Einarc
- Category deleted (
Einarc) - Target version deleted (
3.1)
Updated by Mikhail Yakshin 1115 days ago
- Assigned to set to Mikhail Yakshin
- Target version set to 1.4