Frist step to create the heatmap
Read in the JSON data, works so far
This commit is contained in:
parent
878f8c14d5
commit
c00af9c981
|
@ -46,6 +46,14 @@ module Rubella
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def create_from_string data
|
||||||
|
@input.string data
|
||||||
|
end
|
||||||
|
|
||||||
|
def create_from_file file_name
|
||||||
|
@input.file file_name
|
||||||
|
end
|
||||||
|
|
||||||
def input_json
|
def input_json
|
||||||
require "rubella/input/json"
|
require "rubella/input/json"
|
||||||
Input::JSON
|
Input::JSON
|
||||||
|
|
Loading…
Reference in New Issue