Class: UncleKryon::Subregions

Inherits:
BaseIsos
  • Object
show all
Defined in:
lib/unclekryon/iso/subregion.rb

Constant Summary collapse

DEFAULT_FILEPATH =
"#{DEFAULT_DIR}/subregions.yaml"

Constants inherited from BaseIsos

BaseIsos::DEFAULT_DIR

Instance Attribute Summary

Attributes inherited from BaseIsos

#id, #values

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseIsos

#[], #[]=, #find, #find_by_code, #find_by_name, get_class_name, #key?, #load_file, #save_to_file, #sort_keys!, #to_s

Methods included from Logging

#init_log, #log

Constructor Details

#initializeSubregions

Returns a new instance of Subregions.



27
28
29
# File 'lib/unclekryon/iso/subregion.rb', line 27

def initialize
  super()
end

Class Method Details

.load_file(filepath = DEFAULT_FILEPATH) ⇒ Object



31
32
33
# File 'lib/unclekryon/iso/subregion.rb', line 31

def self.load_file(filepath=DEFAULT_FILEPATH)
  return Subregions.new.load_file(filepath)
end