Class: UncleKryon::Subregions
- Defined in:
- lib/unclekryon/iso/subregion.rb
Constant Summary collapse
- DEFAULT_FILEPATH =
"#{DEFAULT_DIR}/subregions.yaml"
Constants inherited from BaseIsos
Instance Attribute Summary
Attributes inherited from BaseIsos
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Subregions
constructor
A new instance of Subregions.
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
Constructor Details
#initialize ⇒ Subregions
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 |