Class: Awstool::Settings

Inherits:
Object
  • Object
show all
Defined in:
lib/awstool/settings.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



8
9
10
# File 'lib/awstool/settings.rb', line 8

def options
  @options
end

Class Method Details

.get_optionsObject



10
11
12
13
14
15
16
17
18
# File 'lib/awstool/settings.rb', line 10

def self.get_options
  set_default
  get_rc
  get_flags
  @option_files.each do |f|
    @options.merge!(f)
  end
  @options
end