Class: Gem::MiniMirror::Resources::Yaml
- Defined in:
- lib/rubygems/mini_mirror/resources/yaml.rb
Instance Method Summary collapse
Methods inherited from BaseFile
Methods included from Gem::MiniMirror::Resource
Constructor Details
This class inherits a constructor from Gem::MiniMirror::Resources::BaseFile
Instance Method Details
#load! ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/rubygems/mini_mirror/resources/yaml.rb', line 8 def load! super config = YAML.load_file(@path) config.each do |instructs| instructs.each do |k, args| send(k, *args) end end end |