Module: JSONtoDB::IO
- Defined in:
- lib/jsontodb/io.rb
Overview
This module handles input/output operations for the library
Class Method Summary collapse
Class Method Details
.read(src) ⇒ Object
9 10 11 12 |
# File 'lib/jsontodb/io.rb', line 9 def read(src) hash = JSON.parse(File.read(src)) hash end |