0
0
Fork 0

Frist step to create the heatmap

Read in the JSON data, works so far
This commit is contained in:
Stormwind 2015-02-18 22:20:19 +01:00
parent 878f8c14d5
commit c00af9c981
1 changed files with 8 additions and 0 deletions

View File

@ -46,6 +46,14 @@ module Rubella
end
def create_from_string data
@input.string data
end
def create_from_file file_name
@input.file file_name
end
def input_json
require "rubella/input/json"
Input::JSON