Class: Nova::Loader::JSON

Inherits:
Nova::Loader show all
Defined in:
lib/cocoanova/loaders/json.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/json.rb', line 6

def load(content)
    ::JSON.parse content
end