Class Limelight::Data
In: lib/limelight/data.rb
Parent: Object

Methods

Public Class methods

[Source]

    # File lib/limelight/data.rb, line 19
19:       def downloads_dir
20:         return File.join(root, "Downloads")    
21:       end

[Source]

    # File lib/limelight/data.rb, line 27
27:       def establish_data_dirs
28:         Dir.mkdir(root) if !File.exists?(root)
29:         Dir.mkdir(downloads_dir) if !File.exists?(downloads_dir)
30:         Dir.mkdir(productions_dir) if !File.exists?(productions_dir)
31:       end

[Source]

    # File lib/limelight/data.rb, line 23
23:       def productions_dir
24:         return File.join(root, "Productions")    
25:       end

[Source]

    # File lib/limelight/data.rb, line 10
10:       def reset
11:         @root = nil
12:       end

[Source]

    # File lib/limelight/data.rb, line 14
14:       def root
15:         @root = Context.instance.os.dataRoot if @root == nil
16:         return @root
17:       end

[Validate]