On Tue, Jan 7, 2014 at 2:28 AM, sergio_101 <[email protected]> wrote:
> > I am currently converting TF-Login to use Fuel, so i can use it in Pharo 2. > > What is TF? > One issue i am currently stuck on.. > > How do i go about serializing an object to a file using a path? it seems > like all the files are dumped into the resource directory. In order to run > the plugin (and the test) i need to dump everything into a named directory. > > mmm I am not sure if I get the problem. FLSerializer provides class side methods like #serialize: anObject on: aStream so....the aStream could be whatever you want. In addition, we also provide #serialize:toFileNamed: and the filename could be either without full path (then it is in same folder of image) or with full path. Example: FLSerializer new serialize: 'foo' toFileNamed: '/Users/mariano/test.fuel' > Anyone have any ideas? > > Thanks! > > > -- > ---- > peace, > sergio > photographer, journalist, visionary > #BitMessage BM-2D8VWUJSS41RFKh1ec83preVabHrnniExa > > http://www.ThoseOptimizeGuys.com > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > -- Mariano http://marianopeck.wordpress.com
