Class Dister::Options
In: lib/dister/options.rb
Parent: Object

Class for handling user- and application-specific settings

Methods

method_missing   new   reload  

Constants

SUSE_STUDIO_DOT_COM_API_PATH = 'https://susestudio.com/api/v2/user'   Default API path, used unless a custom path is specified
GLOBAL_PATH = "#{File.expand_path('~')}/.dister"   Path to global (per-user) options file
LOCAL_PATH = "#{Dister::Core::APP_ROOT}/.dister/options.yml"   Path to app-specific options file

Attributes

use_only_local  [R] 

Public Class methods

Read options from file.

@param [Boolean] use_only_local Use only local options?

Public Instance methods

Provides setter and getter for all options.

Read +@global+ and +@local+ option files. Run this method if their contents has changed.

[Validate]