class Manateq::Helper
Public Class Methods
to_hash(file)
click to toggle source
# File lib/manateq/helper.rb, line 5 def self.to_hash(file) file = File.read("lib/manateq/data/#{file}.json") data_hash = JSON.parse(file) end