0
0
Commit Graph

16 Commits

Author SHA1 Message Date
5b72c19df0 Add ASCII art output
Just for fun
2015-02-19 23:39:39 +01:00
b337198350 Add some more doc 2015-02-19 22:40:38 +01:00
a56080e3ee Add some doc 2015-02-19 18:30:09 +01:00
8ac724a4c0 Use load_by_name also for Weighting
Plus add a functionallity to convert CamelCase into snake_case.
2015-02-19 18:07:03 +01:00
aea2b5bb3c Use load_by_name for Output 2015-02-19 17:30:22 +01:00
de82dbb5f6 Move content of input_by_name in own method
To make the suff even more generic. So I can reuse it for Output and Weighting
too.
2015-02-19 17:22:47 +01:00
5206a7058e Make choosing for the input class generic
Now you can add own input classes. If there are in "Rubella::Input" Rubella
will automatically load and use it.

TODO Improve error handling
2015-02-19 07:55:03 +01:00
cdbc3ee102 Add some apidoc for rubella.rb 2015-02-19 07:28:35 +01:00
27b0a3dbda Be able to create an image from data
At the moment the image is simply shown to the user. But we need something
better. The user must be able to decide, what happens.
Also I want support for other colors.
2015-02-18 23:45:53 +01:00
46a44ae9c2 Get Input data into weightin process
The data gets weighted.
I also fixed some tiny bugs.
2015-02-18 22:45:02 +01:00
3f49c255ea Fix typo
Forgot an @
2015-02-18 22:41:14 +01:00
c00af9c981 Frist step to create the heatmap
Read in the JSON data, works so far
2015-02-18 22:20:19 +01:00
878f8c14d5 Add source code to Weighting::PerValue
Runs, but I didn't test it so far.
2015-02-18 20:19:05 +01:00
9209beb012 Make it almost possible to decide input, output and weighting later
It is not possible to choose something differen, if it's nil. But you can
choose nil.
2015-02-17 23:01:49 +01:00
fb562d5c5f Add saving of the to the constuctor given data
Now we'll not only load the given classes, we will use them.
2015-02-17 22:28:31 +01:00
d3531e8d2b Started implementation of rubella
Dunno why there is no earlier commit...

Map class is probably a little bit too static. I will rewort this later, but
first we'll finish some of the other stuff.
2015-02-17 22:03:32 +01:00