class Object
Constants
- TEMPLATES_DIRECTORY
Public Instance Methods
json_value(file, key)
click to toggle source
# File lib/spout/tests/json_helper.rb, line 5 def json_value(file, key) begin JSON.parse(File.read(file, encoding: "utf-8"))[key.to_s] rescue nil end