Method: Train::Platforms::Detect::Scanner#initialize
- Defined in:
- lib/train/platforms/detect/scanner.rb
#initialize(backend) ⇒ Scanner
Returns a new instance of Scanner.
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/train/platforms/detect/scanner.rb', line 9 def initialize(backend) @backend = backend @platform = {} @family_hierarchy = [] # detect cache variables @files = {} @uname = {} @lsb = {} @cache = {} end |