Ruby API Reference
Posted: Wed Jun 25, 2014 1:31 pm
Hi All,
Here's a little something for all of the Rubyists here who just need a quick way to look up the Class and Method definitions for FlowStone's custom Ruby objects. I'll keep it here in the top post where it's easy to find, and let you know each time I tweak anything
To install, just unzip the file anywhere that you like (making sure to keep all the folders in the same structure). Navigate to the main folder, where you'll find a load of .html docs. Just double click the one called 'index.html', and it will open in your default browser.
Classes and methods are all linked within the doc's - just click on one to navigate to the page you're looking for, and you'll see a definition of the method signatures, a bit of text about what each one does, and code examples for the ones that need a bit more explaining.
There's also a 'fake' class called "API_Notes" - click on that one to get a page that describes how to make sense of the info and defines a few common terms and conventions.
The pages have all been generated using the 'rdoc' document generator from a "standard" Ruby install, so the format is exactly the same as you'll see for the API documentation for standard Ruby classes and methods - and it makes it nice and simple to maintain, so not half as much work as it might seem!
Hope you find it useful,
Trog.
Here's a little something for all of the Rubyists here who just need a quick way to look up the Class and Method definitions for FlowStone's custom Ruby objects. I'll keep it here in the top post where it's easy to find, and let you know each time I tweak anything
To install, just unzip the file anywhere that you like (making sure to keep all the folders in the same structure). Navigate to the main folder, where you'll find a load of .html docs. Just double click the one called 'index.html', and it will open in your default browser.
Classes and methods are all linked within the doc's - just click on one to navigate to the page you're looking for, and you'll see a definition of the method signatures, a bit of text about what each one does, and code examples for the ones that need a bit more explaining.
There's also a 'fake' class called "API_Notes" - click on that one to get a page that describes how to make sense of the info and defines a few common terms and conventions.
The pages have all been generated using the 'rdoc' document generator from a "standard" Ruby install, so the format is exactly the same as you'll see for the API documentation for standard Ruby classes and methods - and it makes it nice and simple to maintain, so not half as much work as it might seem!
Hope you find it useful,
Trog.