Method: RTree.json_read
- Defined in:
- lib/rtree.rb
.json_read(io_arg) ⇒ RTree
Create a new RTree instance from JSON path or stream
165 166 167 168 169 |
# File 'lib/rtree.rb', line 165 def json_read(io_arg) RTree::IOUtil.io_with_mode(io_arg, 'r') do |io| super(io) end end |