0
0
Fork 0
Commit Graph

6 Commits

Author SHA1 Message Date
Stormwind 66b2becebd Rework output API
Now you give the data at the creation of the object to render it
later.
So you need to create a new output object for every new set of data.
2015-04-25 17:02:39 +02:00
Stormwind cf426e2a48 Add Rubella::Input::Base
Add a base class for Inputs so we have an interface for this.
Use this interface in Rubella::Input::JSON.
2015-02-24 21:45:57 +01:00
Stormwind f5efd50d9f Improvement of Rubella::Output::Image
The class now overwrites the constructor of the basic class to set a default
field_size value of 15 pixels.
It also returns self in the create method corresponding to the base class.
Plus I've added the documentation.
2015-02-24 20:57:56 +01:00
Stormwind e6922a81a5 Add abstract create method
Now the create method belongs to the Output API and must be inmplemented in
the concrete classes.
I also added some docu there.
2015-02-24 20:39:55 +01:00
Stormwind 65cf4f6b15 Use Rubella::Output::Base
Not complete yet.
2015-02-23 22:29:18 +01:00
Stormwind c8ba902bc9 Add (still empty) base class for Rubella::Output 2015-02-23 22:12:26 +01:00