Sha256: bdd2a07150d43b5b8e66751442b7108f6ae855a971e68b9ca5ec3ad8bec4ec68
Contents?: true
Size: 450 Bytes
Versions: 3
Compression:
Stored size: 450 Bytes
Contents
class GlobalSettings include GladeGUI attr_accessor :browser, :projects, :theme_root, :template_root def defaults @browser ||= "firefox" @projects ||= [] @theme_root = File.join(Dir.home, "my_yard", "themes") @template_root = File.join(Dir.home, "my_yard", "templates") end def add_project(proj_path) unless @projects.include?(proj_path) @projects << proj_path VR::save_yaml(self) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
my_yard-0.0.3 | src/GlobalSettings.rb |
my_yard-0.0.2 | src/GlobalSettings.rb |
my_yard-0.0.1 | src/GlobalSettings.rb |