Class: JsonRefs::Loader::Json
- Inherits:
-
Object
- Object
- JsonRefs::Loader::Json
- Defined in:
- lib/json_refs/loader.rb
Instance Method Summary collapse
Instance Method Details
#call(file) ⇒ Object
8 9 10 |
# File 'lib/json_refs/loader.rb', line 8 def call(file) JSON.load(file) end |