Class: Nova::Loader::YAML

Inherits:
Nova::Loader show all
Defined in:
lib/cocoanova/loaders/yaml.rb

Constant Summary

Constants inherited from Nova::Loader

Phony, Registry

Instance Method Summary collapse

Methods inherited from Nova::Loader

[], extension, phony, require_all, supported_extensions

Instance Method Details

#load(content) ⇒ Object



6
7
8
# File 'lib/cocoanova/loaders/yaml.rb', line 6

def load(content)
  ::YAML.load(content)
end