Class: Nova::Loader::JSON
- Inherits:
-
Nova::Loader
- Object
- Nova::Loader
- Nova::Loader::JSON
- Defined in:
- lib/cocoanova/loaders/json.rb
Constant Summary
Constants inherited from Nova::Loader
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 |